From caab94612ac677523d2bf4a4904c8d080c2c7f73 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Thu, 28 May 2015 22:07:59 +0800 Subject: 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 --- include/crypto/internal/aead.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/crypto') 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) int crypto_register_aead(struct aead_alg *alg); void crypto_unregister_aead(struct aead_alg *alg); +int crypto_register_aeads(struct aead_alg *algs, int count); +void crypto_unregister_aeads(struct aead_alg *algs, int count); int aead_register_instance(struct crypto_template *tmpl, struct aead_instance *inst); -- cgit v1.2.3