-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-99108: Add HACL* Blake2 implementation to hashlib #119316
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
Changes from 7 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
81b42f2
Refresh HACL*; update modules accordingly; fix namespacing
msprotz 9514fb4
make regen-sbom
msprotz b6b8ea9
wip
msprotz 94bb7aa
Initial prototype of hashlib running atop HACL*'s blake2
msprotz e8a3060
All hashlib tests pass
msprotz 3896560
Merge remote-tracking branch 'upstream/main' into hacl_blake2
msprotz d9e5568
Import more files, now to figure out the build system...
msprotz 0d7a2ce
No need to repeat those flags in configure -- they are set in Setup.s…
msprotz b00af13
Try some AC stuff
msprotz cd3782a
Merge remote-tracking branch 'upstream/main' into hacl_blake2
msprotz 36f7193
Every single AX_CHECK_COMPILE_FLAG returns false because PY_BUILTIN_H…
msprotz 102dbbf
And another pyconfig.h flag for the second variant -- doing this prop…
msprotz a61aa04
Getting there with the build
msprotz 11d7c76
Multiplex everything
msprotz 9e0df3c
Defeat unused variable warning
msprotz d959d6d
We seem to be down to a linking problem
msprotz 8958943
Making progress on autoconf / make
msprotz 538401e
Refresh HACL*
msprotz cfc7053
Fix a few more typos, build now seems ok
msprotz d564d3a
Eliminate trailing whitespace when importing HACL*
msprotz 505e8c1
No GNU-isms (hopefully)
msprotz cc70e6a
Fix some typos
msprotz 4b9e84e
Update the namespacing mechanism, and write down in a comment how to …
msprotz 314f962
NEWS
msprotz def45e4
Update SBOM
msprotz 97ddafd
Remove GNU-isms
msprotz 2abfcc1
Remove libb2 from SBOM (thanks @sethmlarson)
msprotz a49343b
Merge branch 'hacl_blake2' of pro.github.com:msprotz/cpython into hac…
msprotz 49cdab5
Regenerate SBOM
msprotz eb4c3bd
Merge branch 'main' into hacl_blake2
msprotz cc91e72
Refresh HACL* again, for whitespace
msprotz 873c446
Fix Windows build
msprotz e3112cc
Merge branch 'hacl_blake2' of pro.github.com:msprotz/cpython into hac…
msprotz cf70288
Update SBOM
msprotz 50325c2
Deal with ARM64
msprotz 48c4bd0
Match statements in opcode need more recent Python
msprotz 59bcdb9
Fix Windows build
msprotz 22ee262
make regen-sbom
msprotz 550ca99
Try to fix C analysis
msprotz 278bc6c
Tweak Windows build
msprotz 578494a
Build tweaks
msprotz 24ed962
Bring blake2 in line with other hash modules for Py_MOD_GIL_NOT_USED
msprotz e54bc8e
Move CPU flags detection to per-module state
msprotz abaf42b
Update Modules/blake2module.c
msprotz 7495a88
Update Modules/blake2module.c
msprotz fce0cc2
Update Modules/blake2module.c
msprotz 5610b25
Update Modules/blake2module.c
msprotz 38233db
Address various review comments
msprotz e0e8636
Merge branch 'main' into hacl_blake2
msprotz b8b943c
Add test_blake2_update_over_4gb.
gpshead 503fb34
Update Modules/blake2module.c
msprotz 0b6dba1
Update Modules/blake2module.c
msprotz 2eccf53
Update Modules/blake2module.c
msprotz 04e9b45
Update Modules/blake2module.c
msprotz a616575
Add missing includes
msprotz af0d73b
Every single AX_CHECK_COMPILE_FLAG returns false because PY_BUILTIN_H…
msprotz f3f95a2
Merge branch 'main' into hacl_blake2
gpshead f9089fd
Fix configure.ac
msprotz 15db7c1
Merge remote-tracking branch 'origin/double_define' into hacl_blake2
msprotz bb1cf00
Merge branch 'main' into hacl_blake2
msprotz 07853a5
Merge branch 'main' into hacl_blake2
msprotz b09d92f
Keep the runtime CPU flags and static compilation flags in check
msprotz 53dfa81
Merge branch 'main' into hacl_blake2
gpshead 40374ac
Merge branch 'main' into hacl_blake2
gpshead File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.