Home
last modified time | relevance | path

Searched refs:shatest (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_hmac.py48 def shatest(key, data, digest): function
52 shatest(chr(0x0b) * 20,
56 shatest("Jefe",
60 shatest(chr(0xAA)*20,
64 shatest("".join([chr(i) for i in range(1, 26)]),
68 shatest(chr(0x0C) * 20,
72 shatest(chr(0xAA) * 80,
76 shatest(chr(0xAA) * 80,
/external/python/cpython3/Lib/test/
Dtest_hmac.py80 def shatest(key, data, digest): function
101 shatest(b"\x0b" * 20,
105 shatest(b"Jefe",
109 shatest(b"\xAA" * 20,
113 shatest(bytes(range(1, 26)),
117 shatest(b"\x0C" * 20,
121 shatest(b"\xAA" * 80,
125 shatest(b"\xAA" * 80,