cpython/Modules/_hacl
Jonathan Protzenko 872e212378
gh-99108: Refresh HACL*; update modules accordingly; fix namespacing (GH-117237)
Pulls in a new update from https://github.com/hacl-star/hacl-star and fixes our C "namespacing" done by `Modules/_hacl/refresh.sh`.
2024-03-26 00:35:26 +00:00
..
include/krml
internal
Hacl_Hash_MD5.c
Hacl_Hash_MD5.h
Hacl_Hash_SHA1.c
Hacl_Hash_SHA1.h
Hacl_Hash_SHA2.c
Hacl_Hash_SHA2.h
Hacl_Hash_SHA3.c
Hacl_Hash_SHA3.h
Hacl_Streaming_Types.h
README.md
python_hacl_namespaces.h
refresh.sh

README.md

Algorithm implementations used by the hashlib module.

This code comes from the HACL* project.

HACL* is a cryptographic library that has been formally verified for memory safety, functional correctness, and secret independence.

Updating HACL*

Use the refresh.sh script in this directory to pull in a new upstream code version. The upstream git hash used for the most recent code pull is recorded in the script. Modify the script as needed to bring in more if changes are needed based on upstream code refactoring.

Never manually edit HACL* files. Always add transformation shell code to the refresh.sh script to perform any necessary edits. If there are serious code changes needed, work with the upstream repository.

Local files

  1. ./include/python_hacl_namespaces.h
  2. ./README.md
  3. ./refresh.sh

ACKS