Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

crypto: xilinx/zynqmp-sha - remove unnecessary alignmask

The zynqmp-sha3-384 algorithm sets a nonzero alignmask, but it doesn't
appear to actually need it. Therefore, stop setting it. This will
allow this algorithm to keep being registered after alignmask support is
removed from shash.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Eric Biggers and committed by
Herbert Xu
71e8c241 0174275a

-1
-1
drivers/crypto/xilinx/zynqmp-sha.c
··· 182 182 CRYPTO_ALG_NEED_FALLBACK, 183 183 .cra_blocksize = SHA3_384_BLOCK_SIZE, 184 184 .cra_ctxsize = sizeof(struct zynqmp_sha_tfm_ctx), 185 - .cra_alignmask = 3, 186 185 .cra_module = THIS_MODULE, 187 186 } 188 187 }