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 SHA-224 support to MessageDigest, Mac, Signature, KeyGenerator #104

Merged
merged 5 commits into from
Mar 5, 2025

Conversation

cconlon
Copy link
Member

@cconlon cconlon commented Mar 3, 2025

This PR adds SHA-224 support to wolfJCE, including the following classes/services:

MessageDigest:

  • SHA-224

Mac:

  • HmacSHA224

Signature:

  • SHA224withRSA
  • SHA224withECDSA

KeyGenerator:

  • HmacSHA224

JUnit tests have also been added to each of these classes respective test class.

dgarske
dgarske previously approved these changes Mar 5, 2025
Copy link
Contributor

@JacobBarthelmeh JacobBarthelmeh left a comment

Choose a reason for hiding this comment

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

Running it locally:

    [junit] JNI Sha224 Class
    [junit] 	reuseObject
    [junit] 	copyObject
    [junit] 	threadedHashTest
    [junit] 	constructorShouldNotInitializeNativeStruct
    [junit] 	hashShouldMatchUsingByteBuffer
    [junit] 	releaseAndReInitObject
    [junit] 	hashShouldMatchUsingByteArray

@JacobBarthelmeh JacobBarthelmeh merged commit 613e4f4 into wolfSSL:master Mar 5, 2025
41 checks passed
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