summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadu Alexe <radu.alexe@nxp.com>2017-04-13 09:36:32 +0300
committerDong Aisheng <aisheng.dong@nxp.com>2019-12-02 18:02:09 +0800
commit8c3f97ab23605fec303b719de18d18bddc0c5d0b (patch)
treee998bde5811d665978e06cdf4c509aab66d9fec6
parenta9278aadeb4c8edb3d982e8003f537bc73531729 (diff)
crypto: tcrypt - include rsa test
Signed-off-by: Radu Alexe <radu.alexe@nxp.com> Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
-rw-r--r--crypto/tcrypt.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 70c6997b3b3a..7ffe9dcba42e 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -71,9 +71,8 @@ static char *check[] = {
"cast6", "arc4", "michael_mic", "deflate", "crc32c", "tea", "xtea",
"khazad", "wp512", "wp384", "wp256", "tnepres", "xeta", "fcrypt",
"camellia", "seed", "salsa20", "rmd128", "rmd160", "rmd256", "rmd320",
- "lzo", "lzo-rle", "cts", "sha3-224", "sha3-256", "sha3-384",
- "sha3-512", "streebog256", "streebog512",
- NULL
+ "lzo", "lzo-rle", "cts", "zlib", "sha3-224", "sha3-256", "sha3-384",
+ "sha3-512", "streebog256", "streebog512", "rsa", NULL
};
static u32 block_sizes[] = { 16, 64, 256, 1024, 1472, 8192, 0 };
@@ -1983,6 +1982,10 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb)
ret += tcrypt_test("hmac(streebog512)");
break;
+ case 117:
+ ret += tcrypt_test("rsa");
+ break;
+
case 150:
ret += tcrypt_test("ansi_cprng");
break;