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

Use raw Affine little-endian form of g1/g2 for encoding to BLS public key / signature #1596

Closed
Tracked by #1508
arhag opened this issue Sep 5, 2023 · 1 comment · Fixed by #1600
Closed
Tracked by #1508
Assignees

Comments

@arhag
Copy link
Member

arhag commented Sep 5, 2023

Example for writing out bytes for a public key:

g1 pk = ...;
array<uint8_t, 96> msg = pk.toAffineBytesLE(true);

Something similar needed signatures.

@arhag arhag changed the title Use raw Affine form of g1/g2 for encoding to BLS public key / signature Use raw Affine little-endian form of g1/g2 for encoding to BLS public key / signature Sep 5, 2023
@arhag arhag added 👍 lgtm and removed triage labels Sep 5, 2023
@linh2931
Copy link
Member

linh2931 commented Sep 6, 2023

Resolved by #1600.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
3 participants