Skip to content

gh-135004: rewrite and cleanup blake2module.c #135006

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 14 commits into from
Jun 9, 2025

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Jun 1, 2025

Strictly speaking, we're gaining a bit as well:

Modules/blake2module.c | 723
1 file changed, 357 insertions(+), 366 deletions(-)

I've updated hmacmodule.c as well so that my two functions for detecting SIMD features have the same body. I could have a separate header, but it's easier that way (ideally, I'd like to rely on #125022 for SIMD detection in the future).

@picnixz picnixz requested review from gpshead and tiran as code owners June 1, 2025 12:23
@picnixz picnixz changed the title gh-135004: rewrite and cleanup _blake2module.c gh-135004: rewrite and cleanup blake2module.c Jun 1, 2025
@picnixz
Copy link
Member Author

picnixz commented Jun 1, 2025

!buildbot FIPS

@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @picnixz for commit 17365bd 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135006%2Fmerge

The command will test the builders whose names match following regular expression: FIPS

The builders matched are:

  • AMD64 RHEL8 FIPS Only Blake2 Builtin Hash PR
  • AMD64 RHEL8 FIPS No Builtin Hashes PR
  • AMD64 CentOS9 FIPS No Builtin Hashes PR
  • AMD64 CentOS9 FIPS Only Blake2 Builtin Hash PR

@picnixz picnixz added the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 1, 2025
@bedevere-bot
Copy link

🤖 New build scheduled with the buildbot fleet by @picnixz for commit 4b4b66c 🤖

Results will be shown at:

https://buildbot.python.org/all/#/grid?branch=refs%2Fpull%2F135006%2Fmerge

If you want to schedule another build, you need to add the 🔨 test-with-buildbots label again.

@bedevere-bot bedevere-bot removed the 🔨 test-with-buildbots Test PR w/ buildbots; report in status section label Jun 1, 2025
@picnixz picnixz force-pushed the ref/hashlib/blake-2-new-135004 branch from 4b4b66c to ce0e848 Compare June 7, 2025 13:34
@picnixz picnixz force-pushed the ref/hashlib/blake-2-new-135004 branch from 70ea98e to b16e301 Compare June 8, 2025 09:30
@picnixz picnixz added the type-refactor Code refactoring (with no changes in behavior) label Jun 8, 2025
@picnixz picnixz self-assigned this Jun 8, 2025
@picnixz picnixz merged commit 3cb1097 into python:main Jun 9, 2025
45 checks passed
@picnixz picnixz deleted the ref/hashlib/blake-2-new-135004 branch June 9, 2025 07:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-refactor Code refactoring (with no changes in behavior)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy