linux-imx/include/crypto/internal
Eric Biggers 74ea91baca crypto: hash - introduce crypto_hash_alg_has_setkey()
commit cd6ed77ad5 upstream.

Templates that use an shash spawn can use crypto_shash_alg_has_setkey()
to determine whether the underlying algorithm requires a key or not.
But there was no corresponding function for ahash spawns.  Add it.

Note that the new function actually has to support both shash and ahash
algorithms, since the ahash API can be used with either.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
2018-06-01 00:30:07 +01:00
..
aead.h [CRYPTO] aead: Create default givcipher instances 2008-01-11 08:16:52 +11:00
compress.h crypto: compress - Add pcomp interface 2009-03-04 15:05:33 +08:00
hash.h crypto: hash - introduce crypto_hash_alg_has_setkey() 2018-06-01 00:30:07 +01:00
rng.h crypto: rng - RNG interface and implementation 2008-08-29 15:50:04 +10:00
skcipher.h crypto: skcipher - Fix skcipher_dequeue_givcrypt NULL test 2009-08-29 20:44:04 +10:00