WSL2-Linux-Kernel/include/crypto/internal
Eric Biggers cd6ed77ad5 crypto: hash - introduce crypto_hash_alg_has_setkey()
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.

Cc: stable@vger.kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2018-01-12 23:03:09 +11:00
..
acompress.h crypto: acomp - allow registration of multiple acomps 2017-04-21 20:30:50 +08:00
aead.h crypto: aead - Add chunk size 2016-07-18 17:35:38 +08:00
akcipher.h crypto: Add akcipher_set_reqsize() function 2017-07-28 17:58:04 +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-01-12 23:03:09 +11: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
scompress.h crypto: scomp - delete unused comments 2017-12-28 17:56:50 +11:00
simd.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
skcipher.h crypto: skcipher - introduce walksize attribute for SIMD algos 2016-12-30 19:52:47 +08:00