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

wycheproof2blb: secp256k1 with P1363 format #1092

Merged
merged 1 commit into from
Jul 27, 2024

Conversation

XuJiandong
Copy link
Contributor

parsing ecdsa_secp256k1_sha256_p1363_test.json

parsing ecdsa_secp256k1_sha256_p1363_test.json
@tarcieri
Copy link
Member

tarcieri commented Jul 26, 2024

I guess these are vectors for the IEEE P1363, which unless it also goes by some other name (which I can't verify because I don't have access to the document) we don't support.

From Wikipedia:

The IEEE Standard Association withdrew all of the 1363 standards except 1363.3-2013 on 7 November 2019.

From what I can tell this is some other form of message encoding beyond the existing ones we support.

@XuJiandong
Copy link
Contributor Author

The legacy IEEE 1363 has a very simple signature format with only r + s, totaling 64 bytes. I’ve searched some P1363 signatures in the test cases, and they are unique, not just copied from other cases.

@tarcieri
Copy link
Member

Aah, never heard it referred to that way. It's what we call just ecdsa::Signature or a "fixed" signature

@tarcieri tarcieri merged commit 030ae1d into RustCrypto:master Jul 27, 2024
2 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.

2 participants