]> git.proxmox.com Git - mirror_ubuntu-bionic-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)
commit1207107c7168f779643c91e30f8d6c2f8a4afd4d
tree8c5816000a6f42bc78c93dd6637c47bdab29bf89
parentc4a29891161b7fd8666263b78918f051f8703424
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