mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-05-24 10:39:52 +00:00
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
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue