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

v1: Fix EVP_DigestSignFinal call for HMAC #198

Merged
merged 2 commits into from
Oct 1, 2024

Conversation

ueno
Copy link
Collaborator

@ueno ueno commented Sep 27, 2024

EVP_DigestSignFinal requires the length argument to be initialized if the output is non-NULL. This changes the _goboringcrypto_HMAC_Final to take the output length as an input argument, and pass it along to EVP_DigestSignFinal.

@ueno ueno requested a review from dbenoit17 September 27, 2024 23:15
EVP_DigestSignFinal requires the length argument to be initialized if
the output is non-NULL. This changes the _goboringcrypto_HMAC_Final to
take the output length as an input argument, and pass it along to
EVP_DigestSignFinal.

Signed-off-by: Daiki Ueno <dueno@redhat.com>
Signed-off-by: Daiki Ueno <dueno@redhat.com>
@ueno ueno force-pushed the wip/v1-hmac-fixes branch from e1d71c3 to aca7f01 Compare September 27, 2024 23:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants