Commit 21f802cc authored by Gilad Ben-Yossef's avatar Gilad Ben-Yossef Committed by Herbert Xu
Browse files

crypto: ccree - fix AEAD blocksize registration



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

Signed-off-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
Tested-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 4aaefb62
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2628,6 +2628,7 @@ static struct cc_crypto_alg *cc_create_aead_alg(struct cc_alg_template *tmpl,

	alg->base.cra_ctxsize = sizeof(struct cc_aead_ctx);
	alg->base.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY;
	alg->base.cra_blocksize = tmpl->blocksize;
	alg->init = cc_aead_init;
	alg->exit = cc_aead_exit;