Home
last modified time | relevance | path

Searched refs:sha256_module (Results 1 - 1 of 1) sorted by relevance

/third_party/python/Lib/test/
H A Dtest_hmac.py25 import _sha256 as sha256_module namespace
27 sha256_module = None variable
456 @unittest.skipUnless(sha256_module is not None, 'need _sha256')
458 h = hmac.HMAC(b"key", b"hash this!", digestmod=sha256_module.sha256)
462 digest = hmac.digest(b"key", b"hash this!", sha256_module.sha256)

Completed in 2 milliseconds