summaryrefslogtreecommitdiff
path: root/crypto/rsa-pkcs1pad.c
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2018-01-03 11:16:22 -0800
committerHerbert Xu <herbert@gondor.apana.org.au>2018-01-12 23:03:09 +1100
commitf810a26d418173436aba9e6ed61b1f5f77016b20 (patch)
treee99aec7bdea228a3ba6ceb73b78362d0d645182f /crypto/rsa-pkcs1pad.c
parent5dfe655511fbf64c805dd6a0bde3b66d4f5d4f58 (diff)
downloadlinux-crypto-f810a26d418173436aba9e6ed61b1f5f77016b20.tar.gz
linux-crypto-f810a26d418173436aba9e6ed61b1f5f77016b20.zip
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>
Diffstat (limited to 'crypto/rsa-pkcs1pad.c')
0 files changed, 0 insertions, 0 deletions