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

Mistake in Test Vector for SHA-256 MsgToScalars #311

Open
roblesjoel opened this issue Jan 18, 2024 · 0 comments
Open

Mistake in Test Vector for SHA-256 MsgToScalars #311

roblesjoel opened this issue Jan 18, 2024 · 0 comments

Comments

@roblesjoel
Copy link

In the Test vector "D.2.3. Hash to Scalar Test Vectors"
the dst is "4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f484d32535f4832535f"

in your own files the used dst is as follows:
"4242535f424c53313233383147315f584d443a5348412d3235365f535357555f524f5f4832475f484d32535f4d41505f4d53475f544f5f5343414c41525f41535f484153485f"

With the dst in your files the test vector works

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

No branches or pull requests

1 participant