]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/crypto/internal/hash.h
crypto: add crypto_[un]register_shashes for [un]registering multiple shash entries...
[mirror_ubuntu-bionic-kernel.git] / include / crypto / internal / hash.h
index 5bfad8c8059580d9668c72e9acf9f056f24b928c..821eae8cbd8cf131bdbcc41dd46de828e700269a 100644 (file)
@@ -83,6 +83,8 @@ struct hash_alg_common *ahash_attr_alg(struct rtattr *rta, u32 type, u32 mask);
 
 int crypto_register_shash(struct shash_alg *alg);
 int crypto_unregister_shash(struct shash_alg *alg);
+int crypto_register_shashes(struct shash_alg *algs, int count);
+int crypto_unregister_shashes(struct shash_alg *algs, int count);
 int shash_register_instance(struct crypto_template *tmpl,
                            struct shash_instance *inst);
 void shash_free_instance(struct crypto_instance *inst);