]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sat, 31 May 2025 07:37:47 +0000 (09:37 +0200)
committerGitHub <noreply@github.com>
Sat, 31 May 2025 07:37:47 +0000 (09:37 +0200)
commitc6e63d9d351f6d952000ec3bf84b3a7607989f92
treee1c9e42706b0f4e0aa74fa2dcafae94b856935c0
parent4d31d19a1df0a6e658e6a320cde8355f5f6ea27b
gh-134696: align OpenSSL and HACL*-based hash functions constructors AC signatures (#134713)

OpenSSL and HACL*-based hash functions constructors now support both `data` and `string` parameters.
Previously these constructor functions inconsistently supported sometimes `data` and sometimes `string`,
while the documentation expected `data` to be given in all cases.
16 files changed:
Lib/hashlib.py
Lib/test/test_hashlib.py
Misc/NEWS.d/next/Library/2025-05-26-14-04-39.gh-issue-134696.P04xUa.rst [new file with mode: 0644]
Modules/_hashopenssl.c
Modules/blake2module.c
Modules/clinic/_hashopenssl.c.h
Modules/clinic/blake2module.c.h
Modules/clinic/md5module.c.h
Modules/clinic/sha1module.c.h
Modules/clinic/sha2module.c.h
Modules/clinic/sha3module.c.h
Modules/hashlib.h
Modules/md5module.c
Modules/sha1module.c
Modules/sha2module.c
Modules/sha3module.c