summaryrefslogtreecommitdiff
path: root/crypto/algif_hash.c
diff options
context:
space:
mode:
authorIgnat Korchagin <ignat@cloudflare.com>2022-07-04 11:38:40 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-07-08 15:21:17 +0800
commit80ff5e262701cc0b450105637719b790f321753f (patch)
tree4db7245bf342d3d3a21a2b81ae627dbe98e4e59f /crypto/algif_hash.c
parent9ef5b5b53e0a756eade9e67d0fda39130aa99bd1 (diff)
downloadlinux-crypto-80ff5e262701cc0b450105637719b790f321753f.tar.gz
linux-crypto-80ff5e262701cc0b450105637719b790f321753f.zip
crypto: testmgr - populate RSA CRT parameters in RSA test vectors
Changes from v1: * replace some accidental spaces with tabs In commit fc8f42d931b3 ("crypto: rsa - implement Chinese Remainder Theorem for faster private key operations") we have started to use the additional primes and coefficients for RSA private key operations. However, these additional parameters are not present (defined as 0 integers) in the RSA test vectors. Some parameters were borrowed from OpenSSL, so I was able to find the source. I could not find the public source for 1 vector though, so had to recover the parameters by implementing Appendix C from [1]. [1]: https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Br1.pdf Fixes: fc8f42d931b3 ("crypto: rsa - implement Chinese Remainder Theorem for faster private key operations") Reported-by: Tasmiya Nalatwad <tasmiya@linux.vnet.ibm.com> Signed-off-by: Ignat Korchagin <ignat@cloudflare.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_hash.c')
0 files changed, 0 insertions, 0 deletions