Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Fix incremental sha512#232

Merged
thomwiggers merged 2 commits intomasterPQClean/PQClean:masterfrom
fix_incremental_sha512PQClean/PQClean:fix_incremental_sha512Copy head branch name to clipboard
Sep 12, 2019
Merged

Fix incremental sha512#232
thomwiggers merged 2 commits intomasterPQClean/PQClean:masterfrom
fix_incremental_sha512PQClean/PQClean:fix_incremental_sha512Copy head branch name to clipboard

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.