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

gh-134531: useEVP_MAC API for_hashlib.HMAC#135235

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
picnixz wants to merge44 commits intopython:main
base:main
Choose a base branch
Loading
frompicnixz:feat/hashopenssl/refactoring-134531
Open
Changes from1 commit
Commits
Show all changes
44 commits
Select commitHold shift + click to select a range
c444180
allow to use EVP_MAC API
picnixzJun 7, 2025
eb3cb2e
add helpers for setting exceptions
picnixzJun 8, 2025
e242865
refactor `get_openssl_evp_md_by_utf8name` error branches
picnixzJun 8, 2025
ac6dea4
refactor `HASH.{digest,hexdigest}` computations
picnixzJun 8, 2025
4bc2808
refactor `_hashlib_HASH_copy_locked` and `locked_HMAC_CTX_copy`
picnixzJun 8, 2025
14b87df
set remaining exceptions after an OpenSSL failure
picnixzJun 8, 2025
e5b2ef3
blurb
picnixzJun 8, 2025
5b41242
wrap OpenSSL context allocators
picnixzJun 8, 2025
2a8cf55
fix compilation, remove unused functions and update messages
picnixzJun 8, 2025
ea2ce0e
update wrappers
picnixzJun 8, 2025
43739c5
align exception messages
picnixzJun 8, 2025
e226431
context allocators can only set an ERR_R_MALLOC_FAILURE error
picnixzJun 8, 2025
7201e0a
update exception message for `get_openssl_evp_md_by_utf8name`
picnixzJun 8, 2025
f8c2aed
refactor logic for mapping NIDs to EVP_MD objects
picnixzJun 8, 2025
64539c8
fix(typo)
picnixzJun 8, 2025
0b75636
Merge remote-tracking branch 'upstream/main' into feat/hashlib/evp-ma…
picnixzJun 8, 2025
a9e440c
Merge branch 'refactor/hashlib/evp-nid-interface-134531' into feat/ha…
picnixzJun 8, 2025
f96d44e
Merge branch 'feat/hashlib/smart-exceptions-135234' into feat/hashlib…
picnixzJun 8, 2025
94858be
post-merge
picnixzJun 8, 2025
ecfb74a
remove useless macros
picnixzJun 8, 2025
fc6b0b1
remove useless directives
picnixzJun 8, 2025
661472c
post-merge
picnixzJun 8, 2025
a837e21
post-merge
picnixzJun 8, 2025
380f5a0
Update Modules/_hashopenssl.c
picnixzJun 8, 2025
7036df8
remove TODO
picnixzJun 8, 2025
b7f0947
Merge branch 'refactor/hashlib/evp-nid-interface-134531' into feat/ha…
picnixzJun 8, 2025
a1066fe
pull main
picnixzJun 8, 2025
76c7dd2
Merge branch 'main' into feat/hashlib/smart-exceptions-135234
picnixzJun 8, 2025
0cf0f8b
Merge branch 'feat/hashlib/smart-exceptions-135234' into feat/hashlib…
picnixzJun 8, 2025
5d4c829
Merge branch 'main' into feat/hashlib/evp-mac-134531
picnixzJun 9, 2025
1a311e7
post merge
picnixzJun 9, 2025
e64e664
post-merge
picnixzJun 9, 2025
9d44b31
remove un-necessary macros
picnixzJun 9, 2025
8b64ad6
simplify some function calls
picnixzJun 9, 2025
2307154
simplify call
picnixzJun 9, 2025
90c4e94
fix leak
picnixzJun 9, 2025
3640c09
fix lint
picnixzJun 9, 2025
f1127a1
raise an ImportError when failing to fetch OpenSSL HMAC
picnixzJun 14, 2025
6179261
raise an ImportError when failing to fetch OpenSSL HMAC
picnixzJun 14, 2025
c04eacb
Merge remote-tracking branch 'upstream/main' into feat/hashlib/evp-ma…
picnixzJun 22, 2025
e8fb310
reduce diff
picnixzJun 22, 2025
e92f7cc
Merge branch 'main' into feat/hashlib/evp-mac-134531
picnixzJun 22, 2025
6e10d74
Merge branch 'main' into feat/hashlib/evp-mac-134531
picnixzJun 22, 2025
4b3ff7d
blurb
picnixzJun 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
update exception message forget_openssl_evp_md_by_utf8name
  • Loading branch information
@picnixz
picnixz committedJun 8, 2025
commit7201e0ad23dabdc41a2546d263c250a0c01bf74e
2 changes: 1 addition & 1 deletionModules/_hashopenssl.c
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -531,7 +531,7 @@ get_openssl_evp_md_by_utf8name(PyObject *module, const char *name,
}
if (digest == NULL) {
raise_ssl_error_f(state->unsupported_digestmod_error,
"EVP_MD_fetch: cannot fetch from %s", name);
"unsupported digest name: %s", name);
return NULL;
}
return digest;
Expand Down
Loading

[8]ページ先頭

©2009-2025 Movatter.jp