diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-29 19:32:23 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-01 23:45:19 +0800 |
commit | 2ef96b5426e651efbf83d7c9e613f36e8e08af6d (patch) | |
tree | 2df011bf4cf88d31beb145d196bcee2c7e1effce /crypto/api.c | |
parent | ebff06f6e2a1ae1c8454d9f59d5d6b535d9fc70e (diff) | |
download | linux-crypto-2ef96b5426e651efbf83d7c9e613f36e8e08af6d.tar.gz linux-crypto-2ef96b5426e651efbf83d7c9e613f36e8e08af6d.zip |
crypto: rsa-pkcs1pad - Require hash to be present
The only user of rsa-pkcs1pad always uses the hash so there is
no reason to support the case of not having a hash.
This patch also changes the digest info lookup so that it is
only done once during template instantiation rather than on each
operation.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/api.c')
0 files changed, 0 insertions, 0 deletions