crypto: testmgr - Add test vectors for authenc(hmac(md5),cbc(des))
Subsystems (2)
PATCH 1/1 crypto: testmgr - Add test vectors for authenc(hmac(md5),cbc(des))
Test vector was generated using a software implementation and then double checked on Mediatek MT7981 (safexcel) and NXP P2020 (talitos). Both platforms pass self-tests.
--- crypto/testmgr.c | 7 ++++++ crypto/testmgr.h | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 insertions(+)
crypto/testmgr.c +7 -0
@@ -4079,6 +4079,13 @@ static const struct alg_test_desc alg_test_descs[] = { .suite = { .aead = __VECS(aegis128_tv_template) } + }, { + .alg = "authenc(hmac(md5),cbc(des))", + .generic_driver = "authenc(hmac-md5-lib,cbc(des-generic))", + .test = alg_test_aead, + .suite = { + .aead = __VECS(hmac_md5_des_cbc_tv_temp) + } }, { .alg = "authenc(hmac(md5),cbc(des3_ede))", .generic_driver = "authenc(hmac-md5-lib,cbc(des3_ede-generic))",
crypto/testmgr.h +57 -0
63 lines not on this page · raw message
Signature · 1 line
2.47.3
Herbert Xu
maintainerQuoted 9 lines · Aleksander Jan Bajkowski
Test vector was generated using a software implementation and then double checked on Mediatek MT7981 (safexcel) and NXP P2020 (talitos). Both platforms pass self-tests.
Signed-off-by Aleksander Jan Bajkowski <[email protected]>--- crypto/testmgr.c | 7 ++++++ crypto/testmgr.h | 57 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 64 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
Quoted 3 lines · Aleksander Jan Bajkowski
Test vector was generated using a software implementation and then double checked on Mediatek MT7981 (safexcel) and NXP P2020 (talitos). Both platforms pass self-tests.
It would be better to just remove the support for these obsolete algorithms from the drivers that support them.
- Eric