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>
This commit is contained in:
parent
4aaefb621e
commit
21f802cc98
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user