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

Add a test for XMD-SHA256 BLS12-381 hash_to_scalar #175

Merged

Conversation

randombit
Copy link
Contributor

There was already a test for hash_to_scalar but it provided the okm data directly, rather than using XMD.

Add a test that hash_to_scalar with XMD works as expected. The test data was generated by zkcrypto/bls12_381

@randombit randombit force-pushed the jack/bls12-381-hash-to-scalar-xmd-test branch from a552aaa to 6ed756d Compare February 11, 2025 20:55
There was already a test for hash_to_scalar but it provided the okm
data directly, rather than using XMD.

Add a test that hash_to_scalar with XMD works as expected. The test
data was generated by zkcrypto/bls12_381
@paulmillr paulmillr merged commit 6f04438 into paulmillr:main Feb 11, 2025
7 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