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

Function _hmac_compute_digest

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

Source from the content-addressed store, hash-verified

959
960 @functools.wraps(wrapped := _hmac.compute_digest)
961 def _hmac_compute_digest(key, msg, digest):
962 if digest == blocked_name:
963 raise _hmac.UnknownHashError(blocked_name)
964 return wrapped(key, msg, digest)
965
966 _ensure_wrapper_signature(_hmac_compute_digest, wrapped)
967 return unittest.mock.patch('_hmac.compute_digest', _hmac_compute_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…