git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
crypto: hash - introduce crypto_hash_alg_has_setkey()
[pandora-kernel.git]
/
include
/
crypto
/
internal
/
hash.h
diff --git
a/include/crypto/internal/hash.h
b/include/crypto/internal/hash.h
index
b813ae9
..
df48747
100644
(file)
--- a/
include/crypto/internal/hash.h
+++ b/
include/crypto/internal/hash.h
@@
-78,6
+78,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);