Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd107c02

Browse files
picnixzmiss-islington
authored andcommitted
pythongh-134531: cleanup_hashopenssl.c to supportEVP_MAC (pythonGH-134626)
Rename components related to `_hashlib.{HASH,HASHXOF}` objects.- The `EVPobject` structure is renamed `HASHobject`.- Non-clinic `HASH` methods are now prefixed by `_hashlib_HASH_*`. A similar change is made for non-clinic `HASHXOF` methods.- Functions extracting information from `EVP_MD` objects and functions constructing `EVP_MD` objects now include `openssl_evp_md` in their name.This change allows us to avoid future ambiguities between the `EVP_MD`and the `EVP_MAC` APIs (currently, we only use `EVP_MD` for hash functionsand rely on the legacy interface for HMAC instead of using `EVP_MAC`).(cherry picked from commitcb8045e)Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
1 parented52549 commitd107c02

File tree

3 files changed

+248
-217
lines changed

3 files changed

+248
-217
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
:mod:`!_hashlib`: Rename internal C functions for:class:`!_hashlib.HASH`
2+
and:class:`!_hashlib.HASHXOF` objects. Patch by Bénédikt Tran.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp