Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

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

Provide feedback

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

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpshead merged 64 commits intopython:mainfrommsprotz:hacl_blake2
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
Show all changes
64 commits
Select commitHold shift + click to select a range
81b42f2
Refresh HACL*; update modules accordingly; fix namespacing
msprotzMar 25, 2024
9514fb4
make regen-sbom
msprotzMar 25, 2024
b6b8ea9
wip
msprotzApr 19, 2024
94bb7aa
Initial prototype of hashlib running atop HACL*'s blake2
msprotzApr 19, 2024
e8a3060
All hashlib tests pass
msprotzApr 19, 2024
3896560
Merge remote-tracking branch 'upstream/main' into hacl_blake2
msprotzJun 24, 2024
d9e5568
Import more files, now to figure out the build system...
msprotzJun 25, 2024
0d7a2ce
No need to repeat those flags in configure -- they are set in Setup.s…
msprotzJul 18, 2024
b00af13
Try some AC stuff
msprotzJul 18, 2024
cd3782a
Merge remote-tracking branch 'upstream/main' into hacl_blake2
msprotzJul 18, 2024
36f7193
Every single AX_CHECK_COMPILE_FLAG returns false because PY_BUILTIN_H…
msprotzJul 18, 2024
102dbbf
And another pyconfig.h flag for the second variant -- doing this prop…
msprotzJul 18, 2024
a61aa04
Getting there with the build
msprotzJul 18, 2024
11d7c76
Multiplex everything
msprotzJul 18, 2024
9e0df3c
Defeat unused variable warning
msprotzJul 18, 2024
d959d6d
We seem to be down to a linking problem
msprotzJul 18, 2024
8958943
Making progress on autoconf / make
msprotzJul 19, 2024
538401e
Refresh HACL*
msprotzJul 19, 2024
cfc7053
Fix a few more typos, build now seems ok
msprotzJul 19, 2024
d564d3a
Eliminate trailing whitespace when importing HACL*
msprotzJul 19, 2024
505e8c1
No GNU-isms (hopefully)
msprotzJul 19, 2024
cc70e6a
Fix some typos
msprotzJul 19, 2024
4b9e84e
Update the namespacing mechanism, and write down in a comment how to …
msprotzJul 19, 2024
314f962
NEWS
msprotzJul 19, 2024
def45e4
Update SBOM
msprotzJul 19, 2024
97ddafd
Remove GNU-isms
msprotzJul 22, 2024
2abfcc1
Remove libb2 from SBOM (thanks @sethmlarson)
msprotzJul 22, 2024
a49343b
Merge branch 'hacl_blake2' of pro.github.com:msprotz/cpython into hac…
msprotzJul 22, 2024
49cdab5
Regenerate SBOM
msprotzJul 22, 2024
eb4c3bd
Merge branch 'main' into hacl_blake2
msprotzJul 22, 2024
cc91e72
Refresh HACL* again, for whitespace
msprotzJul 22, 2024
873c446
Fix Windows build
msprotzJul 23, 2024
e3112cc
Merge branch 'hacl_blake2' of pro.github.com:msprotz/cpython into hac…
msprotzJul 23, 2024
cf70288
Update SBOM
msprotzJul 23, 2024
50325c2
Deal with ARM64
msprotzJul 23, 2024
48c4bd0
Match statements in opcode need more recent Python
msprotzJul 23, 2024
59bcdb9
Fix Windows build
msprotzJul 23, 2024
22ee262
make regen-sbom
msprotzJul 23, 2024
550ca99
Try to fix C analysis
msprotzJul 23, 2024
278bc6c
Tweak Windows build
msprotzJul 23, 2024
578494a
Build tweaks
msprotzJul 23, 2024
24ed962
Bring blake2 in line with other hash modules for Py_MOD_GIL_NOT_USED
msprotzJul 23, 2024
e54bc8e
Move CPU flags detection to per-module state
msprotzJul 24, 2024
abaf42b
Update Modules/blake2module.c
msprotzJul 24, 2024
7495a88
Update Modules/blake2module.c
msprotzJul 24, 2024
fce0cc2
Update Modules/blake2module.c
msprotzJul 24, 2024
5610b25
Update Modules/blake2module.c
msprotzJul 24, 2024
38233db
Address various review comments
msprotzJul 24, 2024
e0e8636
Merge branch 'main' into hacl_blake2
msprotzJul 24, 2024
b8b943c
Add test_blake2_update_over_4gb.
gpsheadAug 1, 2024
503fb34
Update Modules/blake2module.c
msprotzAug 1, 2024
0b6dba1
Update Modules/blake2module.c
msprotzAug 1, 2024
2eccf53
Update Modules/blake2module.c
msprotzAug 1, 2024
04e9b45
Update Modules/blake2module.c
msprotzAug 1, 2024
a616575
Add missing includes
msprotzAug 1, 2024
af0d73b
Every single AX_CHECK_COMPILE_FLAG returns false because PY_BUILTIN_H…
msprotzJul 18, 2024
f3f95a2
Merge branch 'main' into hacl_blake2
gpsheadAug 5, 2024
f9089fd
Fix configure.ac
msprotzAug 5, 2024
15db7c1
Merge remote-tracking branch 'origin/double_define' into hacl_blake2
msprotzAug 5, 2024
bb1cf00
Merge branch 'main' into hacl_blake2
msprotzAug 6, 2024
07853a5
Merge branch 'main' into hacl_blake2
msprotzAug 7, 2024
b09d92f
Keep the runtime CPU flags and static compilation flags in check
msprotzAug 10, 2024
53dfa81
Merge branch 'main' into hacl_blake2
gpsheadAug 13, 2024
40374ac
Merge branch 'main' into hacl_blake2
gpsheadAug 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
No need to repeat those flags in configure -- they are set in Setup.s…
…tdlib.in
  • Loading branch information
@msprotz
msprotz committedJul 18, 2024
commit0d7a2ce9a338f9226a0dee1c4322280d6b557db0
6 changes: 3 additions & 3 deletionsconfigure
View file
Open in desktop

Some generated files are not rendered by default. Learn more abouthow customized files appear on GitHub.

12 changes: 3 additions & 9 deletionsconfigure.ac
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -7679,15 +7679,9 @@ PY_STDLIB_MOD_SIMPLE([unicodedata])

dnl By default we always compile these even when OpenSSL is available
dnl (issue #14693). The modules are small.
PY_STDLIB_MOD([_md5],
[test "$with_builtin_md5" = yes], [],
[-I\$(srcdir)/Modules/_hacl/include -I\$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE])
PY_STDLIB_MOD([_sha1],
[test "$with_builtin_sha1" = yes], [],
[-I\$(srcdir)/Modules/_hacl/include -I\$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE])
PY_STDLIB_MOD([_sha2],
[test "$with_builtin_sha2" = yes], [],
[-I\$(srcdir)/Modules/_hacl/include -I\$(srcdir)/Modules/_hacl/internal -D_BSD_SOURCE -D_DEFAULT_SOURCE])
PY_STDLIB_MOD([_md5], [test "$with_builtin_md5" = yes])
PY_STDLIB_MOD([_sha1], [test "$with_builtin_sha1" = yes])
PY_STDLIB_MOD([_sha2], [test "$with_builtin_sha2" = yes])
PY_STDLIB_MOD([_sha3], [test "$with_builtin_sha3" = yes])
PY_STDLIB_MOD([_blake2],
[test "$with_builtin_blake2" = yes], [],
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp