summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorRadu Alexe <radu.alexe@nxp.com>2017-04-13 06:36:32 (GMT)
committerXie Xiaobo <xiaobo.xie@nxp.com>2017-09-25 07:25:22 (GMT)
commit48e5c2520c5d49f9fb7606b2fc0908da8221e67c (patch)
tree4ec86d6c6a36d5a0f31446987d63a576b15db61d /crypto
parent1cc67c2f78f0127d64ffc2a486194f6d3ea712f5 (diff)
downloadlinux-48e5c2520c5d49f9fb7606b2fc0908da8221e67c.tar.xz
crypto: tcrypt - include rsa test
Signed-off-by: Radu Alexe <radu.alexe@nxp.com> Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/tcrypt.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index ae22f05..4ff49d4 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -74,7 +74,7 @@ static char *check[] = {
"khazad", "wp512", "wp384", "wp256", "tnepres", "xeta", "fcrypt",
"camellia", "seed", "salsa20", "rmd128", "rmd160", "rmd256", "rmd320",
"lzo", "cts", "zlib", "sha3-224", "sha3-256", "sha3-384", "sha3-512",
- NULL
+ "rsa", NULL
};
struct tcrypt_result {
@@ -1329,6 +1329,10 @@ static int do_test(const char *alg, u32 type, u32 mask, int m)
ret += tcrypt_test("hmac(sha3-512)");
break;
+ case 115:
+ ret += tcrypt_test("rsa");
+ break;
+
case 150:
ret += tcrypt_test("ansi_cprng");
break;