crypto: testmgr - some more fixes to RSA test vectors
authorIgnat Korchagin <ignat@cloudflare.com>
Sun, 17 Jul 2022 13:37:46 +0000 (14:37 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 22 Jul 2022 08:22:04 +0000 (16:22 +0800)
commit9d2bb9a74b2877f100637d6ab5685bcd33c69d44
tree66839a7ff0820da0674e752ecb4ec56ccfaef50a
parent647c952eac5d27569365e9407c96db3c6915e08f
crypto: testmgr - some more fixes to RSA test vectors

Two more fixes:

  * some test vectors in commit 79e6e2f3f3ff ("crypto: testmgr - populate
    RSA CRT parameters in RSA test vectors") had misplaced commas, which
    break the test and trigger KASAN warnings at least on x86-64

  * pkcs1pad test vector did not have its CRT parameters

Fixes: 79e6e2f3f3ff ("crypto: testmgr - populate RSA CRT parameters in RSA test vectors")
Reported-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Ignat Korchagin <ignat@cloudflare.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.h