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

Refactor ED25519_sign into hw and nohw backend #1276

Merged

Conversation

torben-hansen
Copy link
Contributor

Description of changes:

Refactors ED25519_sign into a no-hardware and a hardware path. Existing backend is the former. Preparation for s2n-bignum Ee25519.

s2n-bignum is lacking SHA512. So unfortunately, I can't punt this computation to s2n-bignum.

PR chain:

  1. refactor ED25519_keypair Refactor ED25519_keypair into hw and nohw backend #1271
  2. (this PR) refactor ED25519_sign
  3. refactor ED25519_verify
  4. various small changes to improve code quality
  5. import s2n-bignum Ed25519 routines
  6. connect s2n-bignum Ed25519 backend to frontend

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.

@torben-hansen torben-hansen requested a review from a team as a code owner November 1, 2023 22:04
@torben-hansen torben-hansen enabled auto-merge (squash) November 1, 2023 22:04
dkostic
dkostic previously approved these changes Nov 3, 2023
crypto/curve25519/internal.h Outdated Show resolved Hide resolved
@torben-hansen torben-hansen merged commit e9efd22 into aws:main Nov 13, 2023
12 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