]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
crypto: safexcel - Add support for authenc(hmac(md5),*) suites
authorAleksander Jan Bajkowski <olek2@wp.pl>
Tue, 3 Feb 2026 18:21:52 +0000 (19:21 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 28 Feb 2026 03:53:58 +0000 (12:53 +0900)
commitf050e4209ab0ba3f13bb6272a07ce87cbea922c9
tree773e5172d67102cb01a8e4ddf5620e5e70af4c27
parentc75daa3730132c55dea7cc9c0f8818aea491fe0c
crypto: safexcel - Add support for authenc(hmac(md5),*) suites

This patch adds support for the following AEAD ciphersuites:
- authenc(hmac(md5),cbc(aes))
- authenc(hmac(md5),cbc(des)))
- authenc(hmac(md5),cbc(des3_ede))
- authenc(hmac(md5),rfc3686(ctr(aes)))

The first three ciphersuites were tested using testmgr and the recently
sent test vectors. They passed self-tests.

This is enhanced version of the patch found in the mtk-openwrt-feeds repo.

Signed-off-by: Aleksander Jan Bajkowski <olek2@wp.pl>
Reviewed-by: Antoine Tenart <atenart@kernel.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_cipher.c