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

crypto: ccree - fix AEAD blocksize registration

Fix an error causing no block sizes to be reported during
all AEAD registrations.

Signed-off-by: Gilad Ben-Yossef <gilad@benyossef.com>
Tested-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

authored by

Gilad Ben-Yossef and committed by
Herbert Xu
21f802cc 4aaefb62

+1
+1
drivers/crypto/ccree/cc_aead.c
··· 2628 2628 2629 2629 alg->base.cra_ctxsize = sizeof(struct cc_aead_ctx); 2630 2630 alg->base.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY; 2631 + alg->base.cra_blocksize = tmpl->blocksize; 2631 2632 alg->init = cc_aead_init; 2632 2633 alg->exit = cc_aead_exit; 2633 2634