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 Sha224 digest, HMAC-SHA224, and SHA224 KAT #204

Merged
merged 9 commits into from
Aug 1, 2023
Merged

Conversation

bencivjan
Copy link
Contributor

Description of changes:

  • Added SHA224 to supported digests
  • HMAC with SHA224 now offered

Testing:

  • NIST verified SHA224 KAT

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.

@bencivjan bencivjan requested a review from a team as a code owner July 24, 2023 20:07
justsmth
justsmth previously approved these changes Jul 25, 2023
aws-lc-rs/src/digest/sha.rs Show resolved Hide resolved
aws-lc-rs/src/digest/sha.rs Outdated Show resolved Hide resolved
@justsmth justsmth dismissed their stale review July 25, 2023 13:55

I suspect SHA225 chaining length is incorrect.

@skmcgrail skmcgrail requested a review from samuel40791765 July 25, 2023 17:55
justsmth
justsmth previously approved these changes Jul 25, 2023
Copy link
Contributor

@justsmth justsmth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The "api-diff" CI appears to be triggered by the change to SHA1_OUTPUT_LEN, but I believe this is a false positive.

Changed items in the public API
===============================
-pub const aws_lc_rs::digest::SHA1_OUTPUT_LEN: OUTPUT_LEN
+pub const aws_lc_rs::digest::SHA1_OUTPUT_LEN: _

@bencivjan bencivjan requested a review from justsmth July 27, 2023 22:13
@bencivjan bencivjan merged commit 15daf8e into aws:main Aug 1, 2023
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.

3 participants