]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
crypto: aspeed/hash - Remove purely software hmac implementation
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 May 2025 06:03:48 +0000 (14:03 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jun 2025 09:26:15 +0000 (17:26 +0800)
commitf6192d0d641f42f3f5b8efeb6e7f5f8bdbedf7bf
tree282a4992f907c8a7101bc78569800d5467df3ac6
parent4ccd065a69df163cd9fe0dd8e0f609f1eeb4723d
crypto: aspeed/hash - Remove purely software hmac implementation

The hmac implementation in aspeed simply duplicates what the new
ahash hmac template already does, namely construct ipad and opad
by hand and then adding them to the hash before feeding it to the
engine.

Remove them and just use the generic ahash hmac template.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/aspeed/aspeed-hace-hash.c
drivers/crypto/aspeed/aspeed-hace.h