MCPcopy Index your code
hub / github.com/python/cpython / _hashlib_hmac_digest

Function _hashlib_hmac_digest

Lib/test/support/hashlib_helper.py:894–897  ·  view source on GitHub ↗
(key, msg, digest)

Source from the content-addressed store, hash-verified

892
893 @functools.wraps(wrapped := _hashlib.hmac_digest)
894 def _hashlib_hmac_digest(key, msg, digest):
895 if digest == blocked_name:
896 raise _hashlib.UnsupportedDigestmodError(blocked_name)
897 return wrapped(key, msg, digest)
898
899 _ensure_wrapper_signature(_hashlib_hmac_digest, wrapped)
900 return unittest.mock.patch('_hashlib.hmac_digest', _hashlib_hmac_digest)

Callers

nothing calls this directly

Calls 1

wrappedFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…