]> git.ipfire.org Git - thirdparty/linux.git/commit
crypto: aspeed/hash - Move final padding into dma_prepare
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 13 May 2025 06:03:59 +0000 (14:03 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 13 Jun 2025 09:26:15 +0000 (17:26 +0800)
commit278d737cc2e0044a93d1dabbdcf293a8e65d981d
tree1528b539f0cb53421ad1835c0c154183439ca12b
parent879203defb9216dd4343c3bf995c34321232a5cd
crypto: aspeed/hash - Move final padding into dma_prepare

Rather than processing a final as two separate updates, combine
them into one for the linear dma_prepare case.

This means that the total hash size is slightly reduced, but that
will be fixed up later by repeating the hash if necessary.

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