Skip to content

Commit 09917f7

Browse files
sckoehlersmuellerDD
authored andcommitted
Add support for FFDHE groups to safePrime testing
This commit adds the FFDHE groups to safePrime testing for OpenSSL. Simply adding the FFDHE cases to the switch statement seems to be sufficient. Signed-off-by: Stephan Mueller <[email protected]>
1 parent f7ae3f0 commit 09917f7

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

backends/backend_openssl.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2685,6 +2685,11 @@ static int _openssl_dsa_keygen(struct buffer *P /* [in] */,
26852685
case ACVP_DH_MODP_4096:
26862686
case ACVP_DH_MODP_6144:
26872687
case ACVP_DH_MODP_8192:
2688+
case ACVP_DH_FFDHE_2048:
2689+
case ACVP_DH_FFDHE_3072:
2690+
case ACVP_DH_FFDHE_4096:
2691+
case ACVP_DH_FFDHE_6144:
2692+
case ACVP_DH_FFDHE_8192:
26882693
logger(LOGGER_WARN, "Automatically using Safeprime testing with DH operation - safeprime testing with DSA interface not supported (Q not set\n");
26892694
return _openssl_dh_keygen(P, Q, G, safeprime, X, Y);
26902695
default:

0 commit comments

Comments
 (0)