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

Remove cryptopp dependency #113

Merged
merged 7 commits into from
Dec 13, 2020
Merged

Remove cryptopp dependency #113

merged 7 commits into from
Dec 13, 2020

Conversation

yperbasis
Copy link
Member

No description provided.

Copy link
Contributor

@AndreaLanfranchi AndreaLanfranchi left a comment

Choose a reason for hiding this comment

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

Ok builds fine.

@yperbasis yperbasis merged commit b95cedd into master Dec 13, 2020
@yperbasis yperbasis deleted the cryptoless2 branch December 13, 2020 12:14
chfast added a commit that referenced this pull request May 29, 2023
Move `w[16]` buffer outside of the outer loop. Otherwise, `w` goes out
of scope in every outer loop iteration and uninitialized memory is used.
This bug has become visible by building with GCC 13 in Release.

I restored the correct location of `w[16]` as in the original
implementation at
https://github.com/amosnier/sha-2/blob/5beabbcc0d872e15a16d51539922dbfabb806316/sha-256.c#L40-L53.
The code was introduced already with the bug in
#113.

Fixes #1191.
yperbasis pushed a commit that referenced this pull request May 29, 2023
Move `w[16]` buffer outside of the outer loop. Otherwise, `w` goes out
of scope in every outer loop iteration and uninitialized memory is used.
This bug has become visible by building with GCC 13 in Release.

I restored the correct location of `w[16]` as in the original
implementation at
https://github.com/amosnier/sha-2/blob/5beabbcc0d872e15a16d51539922dbfabb806316/sha-256.c#L40-L53.
The code was introduced already with the bug in
#113.

Fixes #1191.
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