Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add EVP_md_null and SSL_set_ciphersuites #1637

Merged
merged 5 commits into from
Jun 19, 2024

Conversation

WillChilds-Klein
Copy link
Contributor

Issues:

Addresses CryptoAlg-2464

Description of changes:

This commit adds two functions used by OpenLDAP 2.5.17+. Both functions are very straightforward.

From OpenSSL's docs for EVP_md_null:

A "null" message digest that does nothing: i.e. the hash it returns is
of zero length.

From OpenSSL's docs for SSL_set_ciphersuites:

SSL_set_ciphersuites() is the same as SSL_CTX_set_ciphersuites()
except it configures the ciphersuites for ssl.

Call-outs:

  • n/a

Testing:

  • new integration test
  • increased unit test coverage

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.

@codecov-commenter
Copy link

codecov-commenter commented Jun 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.16%. Comparing base (98735a2) to head (ebb981c).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1637      +/-   ##
==========================================
- Coverage   78.16%   78.16%   -0.01%     
==========================================
  Files         562      562              
  Lines       94683    94693      +10     
  Branches    13575    13575              
==========================================
+ Hits        74008    74014       +6     
- Misses      20082    20084       +2     
- Partials      593      595       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@WillChilds-Klein WillChilds-Klein marked this pull request as ready for review June 14, 2024 19:44
@WillChilds-Klein WillChilds-Klein requested a review from a team as a code owner June 14, 2024 19:44
@WillChilds-Klein WillChilds-Klein force-pushed the openldap-integration branch 2 times, most recently from 8682dc7 to ebb981c Compare June 17, 2024 14:47
smittals2
smittals2 previously approved these changes Jun 19, 2024
crypto/digest_extra/digest_extra.c Outdated Show resolved Hide resolved
ssl/ssl_lib.cc Outdated Show resolved Hide resolved
This commit adds two functions used by OpenLDAP 2.5.17+. Both functions
are very straightforward.

From OpenSSL's [docs][1] for `EVP_md_null`:

>A "null" message digest that does nothing: i.e. the hash it returns is
of zero length.

From OpenSSL's [docs][2] for `SSL_set_ciphersuites`:

> SSL_set_ciphersuites() is the same as SSL_CTX_set_ciphersuites()
except it configures the ciphersuites for ssl.

[1]: https://www.openssl.org/docs/man1.1.1/man3/EVP_md_null.html
[2]: https://www.openssl.org/docs/man1.1.1/man3/SSL_set_ciphersuites.html
@WillChilds-Klein WillChilds-Klein merged commit 6b26139 into aws:main Jun 19, 2024
97 of 99 checks passed
WillChilds-Klein added a commit to WillChilds-Klein/aws-lc that referenced this pull request Jun 20, 2024
**NOTE:** All changes in this commit are outside of the FIPS module
boundary and as such do not affect the module hash.

This commit adds two functions used by OpenLDAP 2.5.17+. Both functions
are very straightforward.

From OpenSSL's [docs][1] for `EVP_md_null`:

>A "null" message digest that does nothing: i.e. the hash it returns is
of zero length.

From OpenSSL's [docs][2] for `SSL_set_ciphersuites`:

> SSL_set_ciphersuites() is the same as SSL_CTX_set_ciphersuites()
except it configures the ciphersuites for ssl.

[1]: https://www.openssl.org/docs/man1.1.1/man3/EVP_md_null.html
[2]:
https://www.openssl.org/docs/man1.1.1/man3/SSL_set_ciphersuites.html
@WillChilds-Klein WillChilds-Klein deleted the openldap-integration branch June 20, 2024 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants