| 1 |
# Algorithm implementations used by the `hashlib` module. |
| 2 |
|
| 3 |
This code comes from the |
| 4 |
[HACL\*](https://github.com/hacl-star/hacl-star/) project. |
| 5 |
|
| 6 |
HACL\* is a cryptographic library that has been formally verified for memory |
| 7 |
safety, functional correctness, and secret independence. |
| 8 |
|
| 9 |
## Updating HACL* |
| 10 |
|
| 11 |
Use the [refresh.sh](refresh.sh) script in this directory to pull in a new |
| 12 |
upstream code version. The upstream git hash used for the most recent code |
| 13 |
pull is recorded in the script. Modify the script as needed to bring in more |
| 14 |
if changes are needed based on upstream code refactoring. |
| 15 |
|
| 16 |
Never manually edit HACL\* files. Always add transformation shell code to the |
| 17 |
`refresh.sh` script to perform any necessary edits. If there are serious code |
| 18 |
changes needed, work with the upstream repository. |
| 19 |
|
| 20 |
## Local files |
| 21 |
|
| 22 |
* [python_hacl_namespaces.h](python_hacl_namespaces.h) |
| 23 |
* [README.md](README.md) |
| 24 |
* [refresh.sh](refresh.sh) |
| 25 |
|
| 26 |
## ACKS |
| 27 |
|
| 28 |
* Jonathan Protzenko aka [@msprotz on Github](https://github.com/msprotz) |
| 29 |
contributed our HACL\* based builtin code. |