Commit 80a3e9a
committed
Expose set_groups/set_curves functions
This allows pyOpenSSL to restrict the groups allowed to be used. E.g.
for restricting the groups to post-quantum hybrid groups
(e.g. X25519MLKEM768) to always ensure that post-quantum cryptography is
used.
This commit uses the set_curves instead of the set_groups variant since
that naming is available on all OpenSSL versions and forks.
Signed-off-by: Arne Schwabe <arne@rfc2549.org>1 parent 122e791 commit 80a3e9a
1 file changed
+7
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
346 | 346 | | |
347 | 347 | | |
348 | 348 | | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
349 | 356 | | |
350 | 357 | | |
351 | 358 | | |
| |||
0 commit comments