Re: [PATCH] crypto: testmgr - Add test vectors for authenc(hmac(md5),cbc(des3_ede))

From: Aleksander Jan Bajkowski

Date: Fri Feb 06 2026 - 14:40:35 EST


Hi Herbert,

On 2/6/26 12:01, Herbert Xu wrote:
On Sun, Feb 01, 2026 at 12:27:08PM +0100, Aleksander Jan Bajkowski wrote:
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@xxxxx>
---
crypto/testmgr.c | 7 ++++++
crypto/testmgr.h | 59 ++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 66 insertions(+)
Patch applied. Thanks.

While resolving the conflict, the entry was added in the wrong place. As a
result, the test manager complains about sorting:
[    0.050891] testmgr: alg_test_descs entries in wrong order: 'authenc(hmac(md5),ecb(cipher_null))' before 'authenc(hmac(md5),cbc(des3_ede))'

Should I send a patch to fix the sorting? Or would you prefer to replace
the patch in your tree and apply [1] first, then [2]? That way there should
be no conflicts.

1. https://patchwork.kernel.org/project/linux-crypto/patch/20260131174020.3670-1-olek2@xxxxx/
2. https://patchwork.kernel.org/project/linux-crypto/patch/20260201112834.3378-1-olek2@xxxxx/

Best regards,
Aleksander