This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] AM623:sa2ul 自检未通过验证 (HMAC (SHA256)、CBC (AES))(&quot);不均匀的未对齐分割、可能休眠和退出;

Guru**** 2867060 points

Other Parts Discussed in Thread: AM623

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1638773/am623-sa2ul-self-tests-fail-for-authenc-hmac-sha256-cbc-aes-with-uneven-misaligned-splits-may-sleep

器件型号: AM623

尊敬的团队:

‑在 AM623 器件上使用 SA2UL 加密加速器、并观察到内核加密自检期间出现了一致性故障。 测试矢量 0 上的“Authorc (HMAC (SHA256)、CBC (AES)-sa2ul 加密测试失败(错误结果)、cfg=“不均匀的未对齐分割、可能会休眠“失败。

我们正在使用 Linux 6.6、我无法找到任何 TI 补丁或已知问题来解决该故障。 请帮助我提出这个问题。
[    7.220265] alg: aead: authenc(hmac(sha256),cbc(aes))-sa2ul encryption test failed (wrong result) on test vector 0, cfg="uneven misa                                     ligned splits, may sleep"
[    7.243747] alg: self-tests for authenc(hmac(sha256),cbc(aes)) using authenc(hmac(sha256),cbc(aes))-sa2ul failed (rc=-22)
[    7.243776] ------------[ cut here ]------------
[    7.243786] alg: self-tests for authenc(hmac(sha256),cbc(aes)) using authenc(hmac(sha256),cbc(aes))-sa2ul failed (rc=-22)
[    7.243867] WARNING: CPU: 3 PID: 350 at crypto/testmgr.c:5936 alg_test+0x458/0x560
[    7.243906] Modules linked in: videobuf2_vmalloc(+) uvc optee leds_gpio cc33xx_sdio(+) tee k3_j72xx_bandgap snd_soc_davinci_mcasp sn                                     d_soc_ti_udma snd_soc_ti_edma snd_soc_ti_sdma snd_soc_integrated_tasdevice snd_soc_core snd_pcm_dmaengine snd_pcm snd_timer sa2ul(+) sn                                     d st1232 soundcore evdev libcomposite dm_crypt dm_mod configfs ip_tables x_tables autofs4 ext4 mbcache jbd2 crc32c_generic panfrost drm                                     _shmem_helper gpu_sched governor_simpleondemand cls_cgroup xhci_plat_hcd xhci_hcd usbcore dwc3 ulpi udc_core roles usb_common sdhci_am6                                     54 sdhci_pltfm cqhci sdhci dwc3_am62 spi_omap2_mcspi
[    7.244091] CPU: 3 PID: 350 Comm: cryptomgr_test Not tainted 6.6+unreleased-gtc700c-arm64 #1  Apertispro 6.6.15-2+apertis2+prometheu                                     s51~~+1+g9f8ea1e9d
[    7.244110] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[    7.244120] pc : alg_test+0x458/0x560
[    7.244131] lr : alg_test+0x458/0x560
[    7.244139] sp : ffff80008268bd50
[    7.244145] x29: ffff80008268bdf0 x28: 000000000000000e x27: 0000000000000000
[    7.244160] x26: ffff800081ee1168 x25: ffff800080ebfee8 x24: 000000000000000e
[    7.244173] x23: 0000000000001183 x22: ffff0000055df080 x21: ffff0000055df000
[    7.244186] x20: 000000000000000d x19: 000000000000000e x18: 00000000fffffffe
[    7.244198] x17: 636e656874756120 x16: 676e697375202929 x15: ffff80008268b900
[    7.244211] x14: 0000000000000000 x13: ffff800081e9c1ea x12: 65742d666c657320
[    7.244223] x11: 00000000ffffefff x10: ffff800081d0ad40 x9 : ffff8000800ec510
[    7.244237] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001
[    7.244249] x5 : ffff00003fd97c88 x4 : 0000000000000000 x3 : 0000000000000027
[    7.244262] x2 : 0000000000000000 x1 : 0000000000000000 x0 : ffff000005646000
[    7.244276] Call trace:
[    7.244283]  alg_test+0x458/0x560
[    7.244294]  cryptomgr_test+0x2c/0x50
[    7.244305]  kthread+0xec/0xf8
[    7.244323]  ret_from_fork+0x10/0x20
[    7.244337] ---[ end trace 0000000000000000 ]---