← 返回首页
gh-99108: Refresh HACL* by msprotz · Pull Request #104808 · python/cpython · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

gh-99108: Refresh HACL*#104808

Merged
gpshead merged 3 commits into
python:mainfrom
msprotz:protz_hacl_refresh
May 24, 2023
Merged

gh-99108: Refresh HACL*#104808
gpshead merged 3 commits into
python:mainfrom
msprotz:protz_hacl_refresh

Conversation

msprotz commented May 23, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

There have been a few important upstream changes in HACL* that I'd like to bring in, and hopefully backport to the 3.12 branch.

FYI SHA3 is also being integrated into NSS as we speak, hence the active upstream development on making things better.

msprotz commented May 23, 2023

Copy link
Copy Markdown
Contributor Author

@gpshead let me know if you'd like a NEWS entry or not. Thanks!

gpshead added the needs backport to 3.12 only security fixes label May 24, 2023

gpshead commented May 24, 2023

Copy link
Copy Markdown
Member

I'd still add a NEWS entry as it is an observable change and a potential bugfix: Something like Refresh our new HACL* built-in :mod:`hashlib` code from upstream. Built-in SHA2 should be faster and an issue with SHA3 on 32-bit platforms is fixed.

gpshead self-assigned this May 24, 2023
gpshead merged commit 160321e into python:main May 24, 2023

Copy link
Copy Markdown
Contributor

Thanks @msprotz for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 24, 2023
Refresh HACL* from upstream to improve SHA2 performance and fix a 32-bit issue in SHA3. (cherry picked from commit 160321e) Co-authored-by: Jonathan Protzenko <protz@microsoft.com>

Copy link
Copy Markdown

GH-104893 is a backport of this pull request to the 3.12 branch.

bedevere-bot removed the needs backport to 3.12 only security fixes label May 24, 2023
gpshead pushed a commit that referenced this pull request May 24, 2023
gh-99108: Refresh HACL* (GH-104808) Refresh HACL* from upstream to improve SHA2 performance and fix a 32-bit issue in SHA3. (cherry picked from commit 160321e) Co-authored-by: Jonathan Protzenko <protz@microsoft.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

4 participants

Footer

© 2026 GitHub, Inc.