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

Method test_blake2s

Lib/test/test_hashlib.py:961–967  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

959
960 @requires_blake2
961 def test_blake2s(self):
962 self.check_blake2(hashlib.blake2s, 8, 8, 32, 32, (1<<48)-1)
963 b2s_md_len = [16, 20, 28, 32]
964 b2s_in_len = [0, 3, 64, 65, 255, 1024]
965 self.assertEqual(
966 self.blake2_rfc7693(hashlib.blake2s, b2s_md_len, b2s_in_len),
967 "6a411f08ce25adcdfb02aba641451cec53c598b24f4fc787fbdc88797f4c1dfe")
968
969 @requires_blake2
970 def test_case_blake2s_0(self):

Callers

nothing calls this directly

Calls 3

check_blake2Method · 0.95
blake2_rfc7693Method · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected