Skip to content

Commit 43a7885

Browse files
nefigtutherbertx
authored andcommitted
crypto: tcrypt - add ffdhe2048(dh) test
Commit 7dce598 ("crypto: dh - implement ffdheXYZ(dh) templates") implemented the said templates. Add ffdhe2048(dh) test as it is the fastest one. This is a requirement for the FIPS certification. Signed-off-by: Vladis Dronov <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 30dd94d commit 43a7885

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

crypto/tcrypt.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1851,6 +1851,9 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb)
18511851
ret = min(ret, tcrypt_test("cbc(aria)"));
18521852
ret = min(ret, tcrypt_test("ctr(aria)"));
18531853
break;
1854+
case 193:
1855+
ret = min(ret, tcrypt_test("ffdhe2048(dh)"));
1856+
break;
18541857
case 200:
18551858
test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
18561859
speed_template_16_24_32);

0 commit comments

Comments
 (0)