Skip to content

Commit 21f802c

Browse files
Gilad Ben-Yossefherbertx
authored andcommitted
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 <[email protected]> Tested-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 4aaefb6 commit 21f802c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/crypto/ccree/cc_aead.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,6 +2628,7 @@ static struct cc_crypto_alg *cc_create_aead_alg(struct cc_alg_template *tmpl,
26282628

26292629
alg->base.cra_ctxsize = sizeof(struct cc_aead_ctx);
26302630
alg->base.cra_flags = CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY;
2631+
alg->base.cra_blocksize = tmpl->blocksize;
26312632
alg->init = cc_aead_init;
26322633
alg->exit = cc_aead_exit;
26332634

0 commit comments

Comments
 (0)