Re: [PATCH] crypto: testmgr - some more fixes to RSA test vectors

From: Herbert Xu
Date: Fri Jul 22 2022 - 04:47:30 EST


On Sun, Jul 17, 2022 at 02:37:46PM +0100, Ignat Korchagin wrote:
> 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@xxxxxxxxxx>
> Signed-off-by: Ignat Korchagin <ignat@xxxxxxxxxxxxxx>
> ---
> crypto/testmgr.h | 102 +++++++++++++++++++++++++++++------------------
> 1 file changed, 63 insertions(+), 39 deletions(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt