diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-05-28 10:07:59 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-02 22:48:35 -0400 |
commit | caab94612ac677523d2bf4a4904c8d080c2c7f73 (patch) | |
tree | f66c37a7b5273bf373c437e526a445167b5a47b6 /include/crypto | |
parent | 43615369ab79f2c06532ea1607266b8307ccce82 (diff) |
crypto: aead - Add multiple algorithm registration interface
This patch adds the helpers that allow the registration and removal
of multiple algorithms.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/internal/aead.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/crypto/internal/aead.h b/include/crypto/internal/aead.h index 3cb35d882930..ba52c37b8c40 100644 --- a/include/crypto/internal/aead.h +++ b/include/crypto/internal/aead.h | |||
@@ -152,6 +152,8 @@ static inline unsigned int crypto_aead_maxauthsize(struct crypto_aead *aead) | |||
152 | 152 | ||
153 | int crypto_register_aead(struct aead_alg *alg); | 153 | int crypto_register_aead(struct aead_alg *alg); |
154 | void crypto_unregister_aead(struct aead_alg *alg); | 154 | void crypto_unregister_aead(struct aead_alg *alg); |
155 | int crypto_register_aeads(struct aead_alg *algs, int count); | ||
156 | void crypto_unregister_aeads(struct aead_alg *algs, int count); | ||
155 | int aead_register_instance(struct crypto_template *tmpl, | 157 | int aead_register_instance(struct crypto_template *tmpl, |
156 | struct aead_instance *inst); | 158 | struct aead_instance *inst); |
157 | 159 | ||