Skip to content

Add SHA3 support to RSA crypto APIs - #66

Closed
jls5177 wants to merge 3 commits into
eclipse-keypont:masterfrom
jls5177:add-sha3-updated
Closed

Add SHA3 support to RSA crypto APIs#66
jls5177 wants to merge 3 commits into
eclipse-keypont:masterfrom
jls5177:add-sha3-updated

Conversation

@jls5177

@jls5177 jls5177 commented Feb 24, 2020

Copy link
Copy Markdown
Contributor

Adding SHA3 support to RSA crypto APIs. Since most PKCS#11 libraries don't support SHA3 yet I added a Hybrid solution that performs the PSS encoding in software and then just uses plain encryption on the digest.

I've tested this on both SoftHSM and Thales HSMs and have not seen any issues.

SHA3 is not yet supported by most HSM solutions and probably wont
be for a few more years. This change adds a hybrid solution that
performs the EMSA-PSS and RSAES-OAEP encoding/decoding schemes in
software and uses the HSM for raw encryption/decryption support.
This allows the keys to continue to be protected by the HSM but
still have access to newer hash algorithms.
Native RSA currently does not support SHA3 hash algorithms. This
change skips the SHA3 tests when performing the native unit tests.
@jls5177

jls5177 commented Feb 24, 2020

Copy link
Copy Markdown
Contributor Author

Closing this PR in favor of the older PR #44

@jls5177 jls5177 closed this Feb 24, 2020
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.

1 participant