diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-28 22:07:53 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-03 10:48:33 +0800 |
commit | 4b1a6955656f027637027e1d5ad7ea1fd5b7feb5 (patch) | |
tree | d7f7c066d75541d287131d0fbbc3f6722b9e2145 /crypto/algapi.c | |
parent | 7de6f3b2327e4bd3cec82a80eb6d014f908facc1 (diff) | |
download | linux-crypto-4b1a6955656f027637027e1d5ad7ea1fd5b7feb5.tar.gz linux-crypto-4b1a6955656f027637027e1d5ad7ea1fd5b7feb5.zip |
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: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions