Searched refs:_hashlib (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Lib/test/support/ |
D | hashlib_helper.py | 6 import _hashlib 8 _hashlib = None variable 41 if openssl and _hashlib is not None: 42 _hashlib.new(digestname, usedforsecurity=usedforsecurity)
|
/third_party/python/Lib/ |
D | hashlib.py | 133 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
|
D | hmac.py | 8 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/ |
D | time_hashlib.py | 52 import _hashlib 54 print("testing speed of _hashlib.%s" % sys.argv[2], getattr(_hashlib, sys.argv[2])) 56 import _hashlib
|
D | test_hashlib.py | 51 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 …]
|
D | pythoninfo.py | 726 import _hashlib 728 _hashlib = None 730 if _hashlib is not None: 731 call_func(info_add, 'fips.openssl_fips_mode', _hashlib, 'get_fips_mode')
|
D | test_hmac.py | 14 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/ |
D | Setup | 215 #_hashlib _hashopenssl.c \ 224 #_hashlib _hashopenssl.c \
|
/third_party/python/PCbuild/ |
D | readme.txt | 141 _hashlib
|
D | pcbuild.sln | 56 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcxproj", "{447F05A8-F581…
|
/third_party/python/Misc/NEWS.d/ |
D | 3.9.0b1.rst | 243 The internal module ``_hashlib`` wraps and exposes OpenSSL's HMAC API. The
|
D | 3.10.0a3.rst | 1367 Port _hashlib extension module to multiphase initialization (:pep:`489`)
|
D | 3.10.0a1.rst | 2229 ``_hashlib.new()``. test_hashlib and test_smtplib handle strict security 2276 Prepare ``_hashlib`` for :pep:`489` and use :c:func:`PyModule_AddType`.
|
D | 3.9.0a1.rst | 1621 _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/ |
D | hashlib.rst | 83 .. _hashlib-usedforsecurity:
|
/third_party/python/Doc/whatsnew/ |
D | 3.9.rst | 93 :mod:`_hashlib`, :mod:`pwd`, :mod:`_posixsubprocess`, :mod:`random`,
|
/third_party/python/Misc/ |
D | HISTORY | 17541 - Bug #1535502, build _hashlib on Windows, and use masm assembler
|