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
354 stars 111 forks source link

Adds const qualifier to ciphertext parameter in EVP_PKEY_decapsulate #1713

Closed maddeleine closed 2 months ago

maddeleine commented 2 months ago

Issues:

N/A

Description of changes:

Adds a const qualifier to the ciphertext parameter in the EVP_PKEY_decapsulate API. This seems to match the internal implementation of decapsulate.

Call-outs:

N/A

Testing:

I didn't see any tests fail for this change? Maybe I missed something...

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 commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.25%. Comparing base (9431f99) to head (e5a26fb).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1713 +/- ## ======================================= Coverage 78.24% 78.25% ======================================= Files 571 571 Lines 95699 95698 -1 Branches 13726 13726 ======================================= + Hits 74884 74886 +2 Misses 20207 20207 + Partials 608 605 -3 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.