]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: cbcmac - Set block size properly
authorHerbert Xu <herbert@gondor.apana.org.au>
Sat, 12 Apr 2025 10:57:36 +0000 (18:57 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 16 Apr 2025 07:36:24 +0000 (15:36 +0800)
commit0a1376744caa553eaf073b9f71d3afd1733c0b12
tree42c694c479236a1f4361aa19ed991708aadd9db6
parente13b67e9d02829620c1c57d1b008e9c7ef954d19
crypto: cbcmac - Set block size properly

The block size of a hash algorithm is meant to be the number of
bytes its block function can handle.  For cbcmac that should be
the block size of the underlying block cipher instead of one.

Set the block size of all cbcmac implementations accordingly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/arm64/crypto/aes-glue.c
arch/arm64/crypto/sm4-ce-glue.c
crypto/ccm.c
drivers/crypto/inside-secure/safexcel_hash.c