Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d1ee1f02 authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: aead - Do not set cra_type for new style instances



The function aead_geniv_alloc currently sets cra_type even for
new style instances.  This is unnecessary and may hide bugs such
as when our caller uses crypto_register_instance instead of the
correct aead_register_instance.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 1e419c79
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment