diff options
| author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2026-03-05 21:08:21 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-03-15 13:23:13 +0900 |
| commit | d46c27c01f132082095342b5abf4e83e250b70b8 (patch) | |
| tree | 31f4f2989145fa25798fbadc55fcaf35c7d6abd9 /crypto/testmgr.c | |
| parent | b45b4314d3e55be70b597baa1f0ab9283e68003b (diff) | |
| download | linux-next-d46c27c01f132082095342b5abf4e83e250b70b8.tar.gz linux-next-d46c27c01f132082095342b5abf4e83e250b70b8.zip | |
crypto: testmgr - Add test vectors for authenc(hmac(sha224),rfc3686(ctr(aes)))
Test vectors were generated starting from existing RFC3686(CTR(AES)) test
vectors and adding HMAC(SHA224) computed with software implementation.
Then, the results were double-checked on Mediatek MT7986 (safexcel).
Platform pass self-tests.
Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
| -rw-r--r-- | crypto/testmgr.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 9a7986efb87a..f7d020a64c6a 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -4165,8 +4165,12 @@ static const struct alg_test_desc alg_test_descs[] = { } }, { .alg = "authenc(hmac(sha224),rfc3686(ctr(aes)))", - .test = alg_test_null, + .generic_driver = "authenc(hmac-sha224-lib,rfc3686(ctr(aes-lib)))", + .test = alg_test_aead, .fips_allowed = 1, + .suite = { + .aead = __VECS(hmac_sha224_aes_ctr_rfc3686_tv_temp) + } }, { .alg = "authenc(hmac(sha256),cbc(aes))", .generic_driver = "authenc(hmac-sha256-lib,cbc(aes-lib))", |
