forked frompython/cpython
- Notifications
You must be signed in to change notification settings - Fork0
Commit82a37a4
pythongh-99108: Replace SHA3 implementation HACL* version (python#103597)
Replaces our built-in SHA3 implementation with a verified one from the HACL* project.This implementation is used when OpenSSL does not provide SHA3 or is not present.3.11 shiped with a very slow tiny sha3 implementation to get off of the <=3.10 reference implementation that wound up having serious bugs. This brings us back to a reasonably performing built-in implementation consistent with what we've just replaced our other guaranteed available standard hash algorithms with: code from the HACL* project.---------Co-authored-by: Gregory P. Smith <greg@krypto.org>1 parent52539f0 commit82a37a4
File tree
21 files changed
+1204
-434
lines changed- Misc/NEWS.d/next/Security
- Modules
- _hacl
- include/krml
- internal
- internal
- _sha3
- clinic
- PCbuild
- Tools/c-analyzer/cpython
21 files changed
+1204
-434
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2698 | 2698 | | |
2699 | 2699 | | |
2700 | 2700 | | |
2701 | | - | |
| 2701 | + | |
2702 | 2702 | | |
2703 | 2703 | | |
2704 | 2704 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
169 | | - | |
| 169 | + | |
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
| 83 | + | |
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
| |||
0 commit comments
Comments
(0)