]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/crypto/internal/hash.h
crypto: hash - add crypto_(un)register_ahashes()
[mirror_ubuntu-bionic-kernel.git] / include / crypto / internal / hash.h
index f6d9af3efa45a6cc8eb448a71f5d43d72d8fcbd1..f0b44c16e88f241721a4296019475abae6b7a3b0 100644 (file)
@@ -76,6 +76,8 @@ static inline int crypto_ahash_walk_last(struct crypto_hash_walk *walk)
 
 int crypto_register_ahash(struct ahash_alg *alg);
 int crypto_unregister_ahash(struct ahash_alg *alg);
+int crypto_register_ahashes(struct ahash_alg *algs, int count);
+void crypto_unregister_ahashes(struct ahash_alg *algs, int count);
 int ahash_register_instance(struct crypto_template *tmpl,
                            struct ahash_instance *inst);
 void ahash_free_instance(struct crypto_instance *inst);