diff options
| author | Aleksander Jan Bajkowski <olek2@wp.pl> | 2026-02-01 12:27:08 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-02-07 09:31:39 +0800 |
| commit | dc8f3d9ae804e8bb47dd49b051fe8b303db3b95c (patch) | |
| tree | 9ad790c1e11730c680aab827d420991ab0b7a563 /crypto/testmgr.c | |
| parent | cd966e406b2aa08b76949cdd4e57458f4afe38b0 (diff) | |
| download | linux-next-dc8f3d9ae804e8bb47dd49b051fe8b303db3b95c.tar.gz linux-next-dc8f3d9ae804e8bb47dd49b051fe8b303db3b95c.zip | |
crypto: testmgr - Add test vectors for authenc(hmac(md5),cbc(des3_ede))
Test vector was generated using a software implementation and then double
checked using a hardware implementation on NXP P2020 (talitos). The
encryption part is identical to authenc(hmac(sha1),cbc(des3_ede)),
only HMAC is different.
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 | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 1306c7df20f9..3d60d9ae9416 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -4080,6 +4080,13 @@ static const struct alg_test_desc alg_test_descs[] = { .aead = __VECS(aegis128_tv_template) } }, { + .alg = "authenc(hmac(md5),cbc(des3_ede))", + .generic_driver = "authenc(hmac-md5-lib,cbc(des3_ede-generic))", + .test = alg_test_aead, + .suite = { + .aead = __VECS(hmac_md5_des3_ede_cbc_tv_temp) + } + }, { .alg = "authenc(hmac(md5),ecb(cipher_null))", .generic_driver = "authenc(hmac-md5-lib,ecb-cipher_null)", .test = alg_test_aead, |
