1
0
Fork 0

crypto: tcrypt - include rsa test

Signed-off-by: Radu Alexe <radu.alexe@nxp.com>
Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
5.4-rM2-2.2.x-imx-squashed
Radu Alexe 2017-04-13 09:36:32 +03:00 committed by Dong Aisheng
parent a9278aadeb
commit 8c3f97ab23
1 changed files with 6 additions and 3 deletions

View File

@ -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;