diff options
author | Tomas Mraz <tomas@openssl.org> | 2022-07-13 15:06:00 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2022-07-19 12:11:02 +0200 |
commit | 8ed6ddcaa559b7b04202c15ea3a95ee0b05caeba (patch) | |
tree | 76676c06c89ddb1e2426799a2d0ab26729d30c79 /providers | |
parent | b89a5b8df909cb3c10b2efe72dc32755e66771b6 (diff) |
For known safe primes use the minimum key length according to RFC 7919
Longer private key sizes unnecessarily raise the cycles needed to
compute the shared secret without any increase of the real security.
This fixes a regression from 1.1.1 where these shorter keys
were generated for the known safe primes.
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
(Merged from https://github.com/openssl/openssl/pull/18793)
Diffstat (limited to 'providers')
0 files changed, 0 insertions, 0 deletions