]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/crypto/internal/hash.h
crypto: hash - introduce crypto_hash_alg_has_setkey()
[mirror_ubuntu-bionic-kernel.git] / include / crypto / internal / hash.h
index c2bae8da642cbaef97f3de444a446a27df15dc18..27040a46d50aab9731c7e98ef1bdaee72998bd58 100644 (file)
@@ -90,6 +90,8 @@ static inline bool crypto_shash_alg_has_setkey(struct shash_alg *alg)
        return alg->setkey != shash_no_setkey;
 }
 
+bool crypto_hash_alg_has_setkey(struct hash_alg_common *halg);
+
 int crypto_init_ahash_spawn(struct crypto_ahash_spawn *spawn,
                            struct hash_alg_common *alg,
                            struct crypto_instance *inst);