android_kernel_sony_sdm845/include/crypto/internal
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Eric Biggers d2b492bda5 crypto: hash - introduce crypto_hash_alg_has_setkey()
commit cd6ed77ad5d223dc6299fb58f62e0f5267f7e2ba 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-02-17 13:21:15 +01:00
..
aead.h crypto: aead - Add chunk size 2016-07-18 17:35:38 +08:00
akcipher.h crypto: akcipher - add akcipher declarations needed by templates. 2015-12-09 20:03:57 +08:00
geniv.h crypto: aead - Remove blkcipher null for IV generators 2016-07-18 17:35:43 +08:00
hash.h crypto: hash - introduce crypto_hash_alg_has_setkey() 2018-02-17 13:21:15 +01:00
kpp.h crypto: kpp - Key-agreement Protocol Primitives API (KPP) 2016-06-23 18:29:56 +08:00
rng.h crypto: rng - Do not free default RNG when it becomes unused 2015-06-22 15:49:18 +08:00
rsa.h crypto: rsa - Store rest of the private key components 2016-07-05 23:05:26 +08:00
skcipher.h crypto: skcipher - Remove top-level givcipher interface 2016-07-18 17:35:46 +08:00