Skip to content

gh-135532: module-wide cleanup for HACL*-based extension modules #135536

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

picnixz
Copy link
Member

@picnixz picnixz commented Jun 15, 2025

This is the first batch of cleanup. Honestly I'm sometimes lost when I navigate through files because MD5/SHA1/SHA2 have the same naming conventions, but SHA3 and BLAKE-2 have different conventions.

I've anyway introduced too many conflicts already compared to 3.14, so I don't think it'll become better. At least, when I work towards new features or bugfixes on the main branch, I won't be lost!

I will continue updating the comments as well. For now I've just move around some code and renamed some functions/attributes/variables. I find the naming _blake2_traverse especially confusing as it could have been both the module or the object traverse function!

@gpshead are you ok with this "purely cosmetic" change which still improves maintainability? I can isolate the clinic directive updates which are real issues (but never caught because they are never used)

@picnixz
Copy link
Member Author

picnixz commented Jun 15, 2025

!buildbot FIPS only

@bedevere-bot
Copy link

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

Results will be shown at:

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

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

The builders matched are:

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

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.

2 participants