diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2016-06-29 19:32:27 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-07-01 23:45:20 +0800 |
commit | 73f79189603b3cd8af1ba1ad2d71f1b3f0aa796d (patch) | |
tree | 360fe5d258b8ca60558fb116dbcebd217928c5a2 /crypto/842.c | |
parent | 3a32ce507a942962f81cae8abec9ef0d0647d127 (diff) | |
download | lwn-73f79189603b3cd8af1ba1ad2d71f1b3f0aa796d.tar.gz lwn-73f79189603b3cd8af1ba1ad2d71f1b3f0aa796d.zip |
crypto: rsa-pkcs1pad - Move key size check to setkey
Rather than repeatedly checking the key size on each operation,
we should be checking it once when the key is set.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/842.c')
0 files changed, 0 insertions, 0 deletions