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

Method init

Lib/test/test_hmac.py:1314–1317  ·  view source on GitHub ↗
(self, h)

Source from the content-addressed store, hash-verified

1312class BuiltinCopyTestCase(ExtensionCopyTestCase, unittest.TestCase):
1313
1314 def init(self, h):
1315 # Even if Python does not build '_sha2', the HACL* sources
1316 # are still built, making it possible to use SHA-2 hashes.
1317 h._init_builtin_hmac(b"key", b"msg", digestmod="sha256")
1318
1319
1320class CompareDigestMixin:

Callers

nothing calls this directly

Calls 1

_init_builtin_hmacMethod · 0.80

Tested by

no test coverage detected