* [PATCH] crypto: tcrypt - add ffdhe2048(dh) test
@ 2024-02-29 17:36 Vladis Dronov
2024-03-08 11:25 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: Vladis Dronov @ 2024-02-29 17:36 UTC (permalink / raw)
To: Herbert Xu, David S . Miller
Cc: Nicolai Stange, linux-crypto, linux-kernel, Vladis Dronov
Commit 7dce59819750 ("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 <vdronov@redhat.com>
---
crypto/tcrypt.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index ea4d1cea9c06..8aea416f6480 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1851,6 +1851,9 @@ static int do_test(const char *alg, u32 type, u32 mask, int m, u32 num_mb)
ret = min(ret, tcrypt_test("cbc(aria)"));
ret = min(ret, tcrypt_test("ctr(aria)"));
break;
+ case 193:
+ ret = min(ret, tcrypt_test("ffdhe2048(dh)"));
+ break;
case 200:
test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
speed_template_16_24_32);
--
2.43.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] crypto: tcrypt - add ffdhe2048(dh) test
2024-02-29 17:36 [PATCH] crypto: tcrypt - add ffdhe2048(dh) test Vladis Dronov
@ 2024-03-08 11:25 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2024-03-08 11:25 UTC (permalink / raw)
To: Vladis Dronov
Cc: David S . Miller, Nicolai Stange, linux-crypto, linux-kernel
On Thu, Feb 29, 2024 at 06:36:03PM +0100, Vladis Dronov wrote:
> Commit 7dce59819750 ("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 <vdronov@redhat.com>
> ---
> crypto/tcrypt.c | 3 +++
> 1 file changed, 3 insertions(+)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-03-08 11:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-29 17:36 [PATCH] crypto: tcrypt - add ffdhe2048(dh) test Vladis Dronov
2024-03-08 11:25 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).