Merge pull request #7858 from mprse/ffdh_tls13_v2_f

Make use of FFDH keys in TLS 1.3 - follow-up
This commit is contained in:
Manuel Pégourié-Gonnard 2023-07-07 16:19:35 +02:00 committed by GitHub
commit 461d59b2f8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 1151 additions and 1122 deletions

View file

@ -67,10 +67,10 @@ NAMED_GROUP_IANA_VALUE = {
'secp521r1': 0x19,
'x25519': 0x1d,
'x448': 0x1e,
# Only one finite field group to keep testing time within reasonable bounds.
'ffdhe2048': 0x100,
}
class TLSProgram:
"""
Base class for generate server/client command.
@ -362,7 +362,7 @@ class MbedTLSBase(TLSProgram):
if self._named_groups:
named_groups = ','.join(self._named_groups)
ret += ["curves={named_groups}".format(named_groups=named_groups)]
ret += ["groups={named_groups}".format(named_groups=named_groups)]
return ret
def pre_checks(self):