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

Dedicate a full r hash block to attacker unknown bytes #1368

Merged
merged 5 commits into from
Nov 9, 2018

Conversation

PlasmaPower
Copy link
Contributor

Follow up to #1353. I noticed that https://eprint.iacr.org/2017/985.pdf recommended dedicating a full hash block to the key and random bytes to prevent side channel attacks (I don't recall that from the paper I had previously read). This is also similar to how keys work in blake2b, and again there's really no reason not to do it.

@PlasmaPower
Copy link
Contributor Author

That paper was for SHA-512, though its strategies are likely applicable to blake2b (and the block size is the same for both).

@rkeene rkeene added this to the V17.0 milestone Nov 9, 2018
@rkeene rkeene requested review from rkeene and clemahieu November 9, 2018 20:10
Copy link
Contributor

@rkeene rkeene left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Progress achieved !

@rkeene rkeene merged commit a2727af into nanocurrency:master Nov 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants