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

Test Secp256k1Generator #302

Merged
merged 1 commit into from
Aug 21, 2024
Merged

Test Secp256k1Generator #302

merged 1 commit into from
Aug 21, 2024

Conversation

diehuxx
Copy link
Contributor

@diehuxx diehuxx commented Aug 21, 2024

No description provided.

Comment on lines +110 to +111
assert_eq!(x_bytes.len(), 32);
assert_eq!(y_bytes.len(), 32);
Copy link
Contributor

Choose a reason for hiding this comment

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

I was going to say there are probably const values from the dalek lib, but actually I kinda like our tests not using those as an additional form of validation

@diehuxx diehuxx merged commit 439fbeb into main Aug 21, 2024
14 checks passed
@diehuxx diehuxx deleted the secp256k1-generator-tests branch August 21, 2024 17:57
diehuxx pushed a commit that referenced this pull request Aug 21, 2024
* main:
  Use error for Verifier::verify(), Add ed25519 unit tests, Add Web5Error::Crypto (#300)
  Test Secp256k1Generator (#302)
  Generate X25519 keys (#301)
  Support X25519 in did:dht verification method (#299)
  add sign and verify test vectors (#292)
  Add feature complete Jwk (#294)
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.

2 participants