0
0
mirror of https://github.com/python/cpython.git synced 2024-11-24 00:38:00 +01:00
cpython/Modules/_hacl
Victor Stinner 3fecbe9255
gh-126433: Update hacl-star (GH-126791)
Retrieve the change: "Lib_Memzero0.c: Fix compiler warning on 32-bit Windows".
2024-11-15 00:22:50 +00:00
..
include/krml
internal gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00
Hacl_Hash_Blake2b_Simd256_universal2.c
Hacl_Hash_Blake2b_Simd256.c gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00
Hacl_Hash_Blake2b_Simd256.h
Hacl_Hash_Blake2b.c gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00
Hacl_Hash_Blake2b.h
Hacl_Hash_Blake2s_Simd128_universal2.c
Hacl_Hash_Blake2s_Simd128.c gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00
Hacl_Hash_Blake2s_Simd128.h
Hacl_Hash_Blake2s.c gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00
Hacl_Hash_Blake2s.h
Hacl_Hash_MD5.c
Hacl_Hash_MD5.h
Hacl_Hash_SHA1.c
Hacl_Hash_SHA1.h
Hacl_Hash_SHA2.c gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00
Hacl_Hash_SHA2.h
Hacl_Hash_SHA3.c gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00
Hacl_Hash_SHA3.h
Hacl_Streaming_Types.h
lib_memzero0.h
Lib_Memzero0.c gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00
libintvector.h
python_hacl_namespaces.h
README.md
refresh.sh gh-126433: Update hacl-star (GH-126791) 2024-11-15 00:22:50 +00:00

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