History for Modules/_hashopenssl.c - python/cpython · GitHub

github.com

Tin mới

gh-156228: Use PyMem_Raw allocators for OpenSSL in `_ssl` and `_hashlib` (#156229)

gh-156228: Use PyMem_Raw allocators for OpenSSL in `_ssl` and `_hashlib` (#156229)

gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338)

gh-150285: Fix too long docstrings in Argument Clinic code (GH-150338)

gh-146287: Fix signed/unsigned mismatch in _hashlib_hmac_digest_size (GH-148407)

gh-146287: Fix signed/unsigned mismatch in _hashlib_hmac_digest_size (GH-148407)

gh-145200: Fix EVP_MAC_CTX leak in hashlib HMAC on init failure (GH-145201)

gh-145200: Fix EVP_MAC_CTX leak in hashlib HMAC on init failure (GH-145201)

gh-128341: Use _Py_ABI_SLOT in stdlib modules (#145770)

gh-128341: Use _Py_ABI_SLOT in stdlib modules (#145770)

gh-145301: Fix double-free in hashlib and hmac module initialization (GH-145321)

gh-145301: Fix double-free in hashlib and hmac module initialization (GH-145321)

gh-142451: correctly copy HMAC attributes in `HMAC.copy()` (#142510)

gh-142451: correctly copy HMAC attributes in `HMAC.copy()` (#142510)

gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138922)

gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138922)

gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138835)

gh-129813, PEP 782: Use PyBytesWriter in _hashopenssl (#138835)

gh-134531: use `EVP_MAC` API for `_hashlib.HMAC` when possible (#135235)

gh-134531: use `EVP_MAC` API for `_hashlib.HMAC` when possible (#135235)

GH-135763: AC: Use ``Py_ssize_t(allow_negative=False)`` (#138394)

GH-135763: AC: Use ``Py_ssize_t(allow_negative=False)`` (#138394)

gh-116946: Revert GC protocol for immutable empty heap types (GH-138266, GH-138288, GH-138289) (#138338)

gh-116946: Revert GC protocol for immutable empty heap types (GH-138266, GH-138288, GH-138289) (#138338)

gh-116946: fully implement GC protocol for `_hashlib` objects (#138289)

gh-116946: fully implement GC protocol for `_hashlib` objects (#138289)

gh-134531: simplify code for computing HMAC digests (#138046)

gh-134531: simplify code for computing HMAC digests (#138046)

GH-137623: Use an AC decorator for docstring line length enforcement (#137690)

GH-137623: Use an AC decorator for docstring line length enforcement (#137690)

gh-131876: Revert "gh-131876: extract `_hashlib` helpers into a separate directory (#136995) (#137307)

gh-131876: Revert "gh-131876: extract `_hashlib` helpers into a separate directory (#136995) (#137307)

gh-131876: extract `_hashlib` helpers into a separate directory (#136995)

gh-131876: extract `_hashlib` helpers into a separate directory (#136995)

gh-136968: fortify macro usage in cryptographic modules (#136973)

gh-136968: fortify macro usage in cryptographic modules (#136973)

gh-134531: prefer using `_hashlib` module state instead of module object (#136865)

gh-134531: prefer using `_hashlib` module state instead of module object (#136865)

gh-136787: improve exception messages for invalid hash algorithms (#136802)

gh-136787: improve exception messages for invalid hash algorithms (#136802)

gh-90733: improve `hashlib.scrypt` interface (#136100)

gh-90733: improve `hashlib.scrypt` interface (#136100)

gh-136591: avoid using deprecated features for OpenSSL 3.0+ (#136592)

gh-136591: avoid using deprecated features for OpenSSL 3.0+ (#136592)

gh-135532: cleanup clinic `module` directives for cryptographic modules (#135822)

gh-135532: cleanup clinic `module` directives for cryptographic modules (#135822)

gh-135239: simpler use of mutexes in cryptographic modules (#135267)

gh-135239: simpler use of mutexes in cryptographic modules (#135267)

gh-135532: optimize calls to `PyMem_Malloc` in SHAKE digest computation (#135744)

gh-135759: consistently reject negative sizes in SHAKE digests (#135767)

gh-135234: improve `_hashlib` exceptions when reporting an OpenSSL function failure (#135250)

gh-134531: refactor `_hashlib` logic for handling NIDs and EVP_MDs (#135254)

gh-134531: fix `_hashlib` clinic directive post GH-134626 (#135249)

gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (#134713)

gh-134531: cleanup `_hashopenssl.c` to support `EVP_MAC` (#134626)

gh-132987: Support __index__() in hashlib.scrypt() (GH-133100)

gh-132993: expose `HASHLIB_GIL_MINSIZE` to private extension modules (#132999)

gh-132674: fix `_hashopenssl.c` compiler warnings on free-threaded build (#132675)

gh-127667: refactor and improve `_hashopenssl.c` error branches (#131145)