Skip to content
Snippets Groups Projects
Commit 5eb8ec6d authored by Herbert Xu's avatar Herbert Xu
Browse files

crypto: aead - Add type-safe init/exit functions


As it stands the only non-type safe functions left in the new
AEAD interface are the cra_init/cra_exit functions.  It means
exposing the ugly __crypto_aead_cast to every AEAD implementor.

This patch adds type-safe init/exit functions to AEAD.  Existing
algorithms are unaffected while new implementations can simply
fill in these two instead of cra_init/cra_exit.

Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent addfda2f
No related branches found
No related tags found
Loading
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