1
1
openwrt/target/linux/generic
Aleksander Jan Bajkowski 05e6148310 kernel: backport crypto selftests for some ciphersuites
FIPS 140-3 recommends that all crypto implementations should be tested
before first use. Testmanager performs initial tests based on existing
test vectors. Not all algorithms have defined test vectors, so to improve
this situation, this commit backports recently added test vectors for
following cipher suites:
* authenc(hmac(md5),cbc(des))
* authenc(hmac(md5),cbc(aes))
* authenc(hmac(sha1),rfc3686(ctr(aes)))
* authenc(hmac(sha224),rfc3686(ctr(aes)))
* authenc(hmac(sha256),rfc3686(ctr(aes)))
* authenc(hmac(sha384),rfc3686(ctr(aes)))
* authenc(hmac(sha512),rfc3686(ctr(aes)))

These vectors were calculated using a software implementation and then
double-checked on Mediatek MT7981/MT7986 (safexcel) and NXP P2020 (talitos).
Both platforms passed self-tests.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Link: https://github.com/openwrt/openwrt/pull/22409
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2026-03-24 01:33:48 +01:00
..
backport-6.12 kernel: backport crypto selftests for some ciphersuites 2026-03-24 01:33:48 +01:00
files treewide: constify mdio_bus 2026-03-13 19:56:20 +01:00
hack-6.12 kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
image treewide: strip trailing whitespace 2025-05-20 00:47:37 +02:00
other-files initramfs: switch to tmpfs to fix ujail 2020-11-27 01:23:43 +00:00
pending-6.12 kernel: backport crypto selftests for some ciphersuites 2026-03-24 01:33:48 +01:00
config-6.12 generic: config-6.12: update with new symbols 2026-03-22 12:00:31 +01:00
config-filter generic: filter out more rust related symbols 2026-01-18 11:22:15 +01:00
kernel-6.12 kernel: bump 6.12 to 6.12.77 2026-03-22 12:00:31 +01:00
PATCHES.md generic: improve patches documentation 2025-06-11 15:09:46 +02:00