Skip to content

bpo-37630: Use SHA3 and SHAKE XOF from OpenSSL #16049

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

Merged
merged 3 commits into from
May 16, 2020

Conversation

tiran
Copy link
Member

@tiran tiran commented Sep 12, 2019

OpenSSL 1.1.1 comes with SHA3 and SHAKE builtin.

Signed-off-by: Christian Heimes [email protected]

https://bugs.python.org/issue37630

Automerge-Triggered-By: @tiran

@tiran tiran force-pushed the bpo-37630-hashlib-sha3 branch 8 times, most recently from 844ebfb to 8303e57 Compare September 13, 2019 16:25
@tiran tiran force-pushed the bpo-37630-hashlib-sha3 branch 2 times, most recently from d4ba8b4 to 2668569 Compare September 25, 2019 21:44
@tiran tiran force-pushed the bpo-37630-hashlib-sha3 branch 2 times, most recently from b35c29e to 0c5e988 Compare May 15, 2020 17:58
@tiran tiran requested a review from gpshead May 15, 2020 17:58
@tiran tiran force-pushed the bpo-37630-hashlib-sha3 branch 2 times, most recently from 5d212e6 to 8804740 Compare May 15, 2020 18:05
@tiran tiran requested review from vstinner and encukou May 15, 2020 18:11
@tiran
Copy link
Member Author

tiran commented May 15, 2020

@vstinner @encukou Please take a look

@tiran tiran force-pushed the bpo-37630-hashlib-sha3 branch from 8804740 to f31da42 Compare May 15, 2020 18:21
@tiran
Copy link
Member Author

tiran commented May 15, 2020

@gpshead Thanks for the review, I have addressed all your comments.

tiran added 2 commits May 16, 2020 15:29
OpenSSL 1.1.1 comes with SHA3 and SHAKE builtin.

Signed-off-by: Christian Heimes <[email protected]>
@tiran tiran force-pushed the bpo-37630-hashlib-sha3 branch from 9aec2b2 to 386a3b5 Compare May 16, 2020 13:38
@tiran
Copy link
Member Author

tiran commented May 16, 2020

@gpshead I found another issue. _hashlib.HASH() was causing a segfault. I'm now blocking the construction of objects from raw type again.

Also fixes a NULL ptr deref and segmentation fault.

Signed-off-by: Christian Heimes <[email protected]>
@miss-islington miss-islington merged commit d5b3f6b into python:master May 16, 2020
arturoescaip pushed a commit to arturoescaip/cpython that referenced this pull request May 24, 2020
OpenSSL 1.1.1 comes with SHA3 and SHAKE builtin.

Signed-off-by: Christian Heimes <[email protected]>

Automerge-Triggered-By: @tiran
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.

5 participants