aws / aws-lc

AWS-LC is a general-purpose cryptographic library maintained by the AWS Cryptography team for AWS and their customers. It іs based on code from the Google BoringSSL project and the OpenSSL project.
Other
258 stars 105 forks source link

Make DH_check consistent with OpenSSL #1642

Closed dkostic closed 5 days ago

dkostic commented 2 weeks ago

Issues:

CryptoAlg-2490

Description of changes:

Previously, DH_check allowed only primes with certain properties when the generator was equal to 2 or 5. We remove this requirement to:

Call-outs:

Point out areas that need special attention or support during the review process. Discuss architecture or design changes.

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.