Skip to content

Fix incremental sha512#232

Merged
thomwiggers merged 2 commits intomasterfrom
fix_incremental_sha512
Sep 12, 2019
Merged

Fix incremental sha512#232
thomwiggers merged 2 commits intomasterfrom
fix_incremental_sha512

Conversation

@mkannwischer
Copy link
Contributor

While reviewing our sha2.c I found that sha512_inc_blocks is calling crypto_hashblocks_sha256 instead of crypto_hashblocks_sha512.
This incremental sha512 API was not actually used by any of the schemes in PQClean.

Nevertheless, I've added a test that catches this and fixed it.

@mkannwischer mkannwischer added the ready for review Pull request that is ready to be reviewed and merged label Sep 10, 2019
@thomwiggers thomwiggers merged commit 88e59b3 into master Sep 12, 2019
@thomwiggers thomwiggers deleted the fix_incremental_sha512 branch September 12, 2019 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready for review Pull request that is ready to be reviewed and merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants