Home
last modified time | relevance | path

Searched refs:_hashlib (Results 1 – 17 of 17) sorted by relevance

/third_party/python/Lib/test/support/
Dhashlib_helper.py6 import _hashlib
8 _hashlib = None variable
41 if openssl and _hashlib is not None:
42 _hashlib.new(digestname, usedforsecurity=usedforsecurity)
/third_party/python/Lib/
Dhashlib.py133 f = getattr(_hashlib, 'openssl_' + name)
160 return _hashlib.new(name, data, **kwargs)
170 import _hashlib
174 _hashlib.openssl_md_meth_names)
176 _hashlib = None variable
182 from _hashlib import pbkdf2_hmac
252 from _hashlib import scrypt
Dhmac.py8 import _hashlib as _hashopenssl
17 import hashlib as _hashlib namespace
75 digest_cons = lambda d=b'': _hashlib.new(digestmod, d)
205 digest_cons = lambda d=b'': _hashlib.new(digest, d)
/third_party/python/Lib/test/
Dtime_hashlib.py52 import _hashlib
54 print("testing speed of _hashlib.%s" % sys.argv[2], getattr(_hashlib, sys.argv[2]))
56 import _hashlib
Dtest_hashlib.py51 from _hashlib import HASH, HASHXOF, openssl_md_meth_names, get_fips_mode
140 _hashlib = self._conditional_import_module('_hashlib')
141 self._hashlib = _hashlib
142 if _hashlib:
145 self.assertTrue(hasattr(_hashlib, 'openssl_md5'))
146 self.assertTrue(hasattr(_hashlib, 'openssl_sha1'))
148 constructor = getattr(_hashlib, 'openssl_'+algorithm, None)
227 if self._hashlib is not None:
228 self._hashlib.new("md5", usedforsecurity=True)
229 self._hashlib.openssl_md5(usedforsecurity=True)
[all …]
Dpythoninfo.py726 import _hashlib
728 _hashlib = None
730 if _hashlib is not None:
731 call_func(info_add, 'fips.openssl_fips_mode', _hashlib, 'get_fips_mode')
Dtest_hmac.py14 import _hashlib as _hashopenssl
15 from _hashlib import HMAC as C_HMAC
16 from _hashlib import hmac_new as c_hmac_new
17 from _hashlib import compare_digest as openssl_compare_digest
/third_party/python/Modules/
DSetup215 #_hashlib _hashopenssl.c \
224 #_hashlib _hashopenssl.c \
/third_party/python/PCbuild/
Dreadme.txt141 _hashlib
Dpcbuild.sln56 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcxproj", "{447F05A8-F581…
/third_party/python/Misc/NEWS.d/
D3.9.0b1.rst243 The internal module ``_hashlib`` wraps and exposes OpenSSL's HMAC API. The
D3.10.0a3.rst1367 Port _hashlib extension module to multiphase initialization (:pep:`489`)
D3.10.0a1.rst2229 ``_hashlib.new()``. test_hashlib and test_smtplib handle strict security
2276 Prepare ``_hashlib`` for :pep:`489` and use :c:func:`PyModule_AddType`.
D3.9.0a1.rst1621 _hashlib no longer calls obsolete OpenSSL initialization function with
1672 The _hashlib OpenSSL wrapper extension module is now PEP-384 compliant.
4444 Fix _hashlib build when Blake2 is disabled, but OpenSSL supports it.
/third_party/python/Doc/library/
Dhashlib.rst83 .. _hashlib-usedforsecurity:
/third_party/python/Doc/whatsnew/
D3.9.rst93 :mod:`_hashlib`, :mod:`pwd`, :mod:`_posixsubprocess`, :mod:`random`,
/third_party/python/Misc/
DHISTORY17541 - Bug #1535502, build _hashlib on Windows, and use masm assembler