]> www.infradead.org Git - users/dwmw2/linux.git/commit
crypto: testmgr - Fix incorrect values in PKCS#1 test vector
authorConor McLoughlin <conor.mcloughlin@intel.com>
Tue, 13 Feb 2018 08:29:56 +0000 (08:29 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 8 Apr 2018 12:29:50 +0000 (14:29 +0200)
commit1637d9655c6ac93929512229f6074d9c61c0299b
treee4cd4c8116bbc6968cd6f2caca3bf49b1597bcd4
parent3819c95fec54f7ce2e07336dbfd641c1b2b52425
crypto: testmgr - Fix incorrect values in PKCS#1 test vector

commit 333e18c5cc74438f8940c7f3a8b3573748a371f9 upstream.

The RSA private key for the first form should have
version, prime1, prime2, exponent1, exponent2, coefficient
values 0.
With non-zero values for prime1,2, exponent 1,2 and coefficient
the Intel QAT driver will assume that values are provided for the
private key second form. This will result in signature verification
failures for modules where QAT device is present and the modules
are signed with rsa,sha256.

Cc: <stable@vger.kernel.org>
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: Conor McLoughlin <conor.mcloughlin@intel.com>
Reviewed-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
crypto/testmgr.h