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

From: Aleksander Jan Bajkowski

Date: Fri Mar 27 2026 - 13:11:17 EST


Hi Herbert,

On 14/03/2026 05:47, Herbert Xu wrote:
On Tue, Mar 03, 2026 at 07:48:44PM +0100, Aleksander Jan Bajkowski wrote:
Test vectors were generated starting from existing CBC(AES) test vectors
(RFC3602, NIST SP800-38A) and adding HMAC(MD5) computed with Python
script. Then, the results were double-checked on Mediatek MT7981 (safexcel)
and NXP P2020 (talitos). Both platforms pass self-tests.

Signed-off-by: Aleksander Jan Bajkowski <olek2@xxxxx>
---
v4:
- rename aes-generic -> aes-lib
v3:
- correct sha384 -> md5 in description
v2:
- rebase and resolve conflicts
---
crypto/testmgr.c | 7 ++
crypto/testmgr.h | 255 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 262 insertions(+)
The previous patch has already been applied. Please redo this
as an incremental patch.

Checked the crypto tree, and this patch still isn't applied. I've sent multiple test vectors, and you're probably referring to a another patch. Should I send it again, or will you accept it as is?

By the way, that's the last one. As of now, all my routers have the missing vectors added :)

Regards, Aleksander