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

Commitcb8045e

Browse files
authored
gh-134531: cleanup_hashopenssl.c to supportEVP_MAC (#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`).
1 parent71290a6 commitcb8045e

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