crypto: testmgr - Add test vectors for authenc(hmac(md5),rfc3686(ctr(aes)))
Subsystems (2)
PATCH 1/1 crypto: testmgr - Add test vectors for authenc(hmac(md5),rfc3686(ctr(aes)))
Test vectors were generated starting from existing RFC3686(CTR(AES)) test vectors and adding HMAC(MD5) computed with software implementation. Then, the results were double-checked on Mediatek MT7986 (safexcel). Platform pass self-tests.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>
--- crypto/testmgr.c | 7 ++ crypto/testmgr.h | 207 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 214 insertions(+)
crypto/testmgr.c +7 -0
@@ -4093,6 +4093,13 @@ static const struct alg_test_desc alg_test_descs[] = { .suite = { .aead = __VECS(hmac_md5_ecb_cipher_null_tv_template) } + }, { + .alg = "authenc(hmac(md5),rfc3686(ctr(aes)))", + .generic_driver = "authenc(hmac-md5-lib,rfc3686(ctr(aes-lib)))", + .test = alg_test_aead, + .suite = { + .aead = __VECS(hmac_md5_aes_ctr_rfc3686_tv_temp) + } }, { .alg = "authenc(hmac(sha1),cbc(aes))", .generic_driver = "authenc(hmac-sha1-lib,cbc(aes-lib))",
crypto/testmgr.h +207 -0
213 lines not on this page · raw message
Signature · 1 line
2.51.0
Herbert Xu
maintainerQuoted 10 lines · Aleksander Jan Bajkowski
Test vectors were generated starting from existing RFC3686(CTR(AES)) test vectors and adding HMAC(MD5) computed with software implementation. Then, the results were double-checked on Mediatek MT7986 (safexcel). Platform pass self-tests.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- crypto/testmgr.c | 7 ++ crypto/testmgr.h | 207 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 214 insertions(+)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt