]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: testmgr - add testvector for pkcs1pad(rsa)
authorStephan Mueller <smueller@chronox.de>
Mon, 12 Jun 2017 21:27:51 +0000 (23:27 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 20 Jun 2017 03:21:29 +0000 (11:21 +0800)
commit7eb5e2a593e9b8310d6e0200eea6933a0f8aa0cf
tree8c5816000a6f42bc78c93dd6637c47bdab29bf89
parentdaa48b895adba4695ad049a3b2d84a17bb7565b4
crypto: testmgr - add testvector for pkcs1pad(rsa)

The PKCS#1 RSA implementation is provided with a self test with RSA 2048
and SHA-256. This self test implicitly covers other RSA keys and other
hashes. Also, this self test implies that the pkcs1pad(rsa) is FIPS
140-2 compliant.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c
crypto/testmgr.h