diff options
author | Eric Biggers <ebiggers@google.com> | 2018-01-03 11:16:24 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-01-12 23:03:10 +1100 |
commit | f461f04ef38939af2cf23efadea2820f4edcdc6e (patch) | |
tree | eb028b5133099ea1dd7062c33f7455778372e2a6 /crypto/poly1305_generic.c | |
parent | 48420a717b6a7d05a8efcd2744aaaa9760d911e9 (diff) | |
download | linux-crypto-f461f04ef38939af2cf23efadea2820f4edcdc6e.tar.gz linux-crypto-f461f04ef38939af2cf23efadea2820f4edcdc6e.zip |
crypto: mcryptd - pass through absence of ->setkey()
When the mcryptd template is used to wrap an unkeyed hash algorithm,
don't install a ->setkey() method to the mcryptd instance. This change
is necessary for mcryptd to keep working with unkeyed hash algorithms
once we start enforcing that ->setkey() is called when present.
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/poly1305_generic.c')
0 files changed, 0 insertions, 0 deletions