Skip to content
Snippets Groups Projects
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
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment