Home
last modified time | relevance | path

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

12

/external/python/cpython2/PC/VS7.1/
D_ssl.mak23 all: _ssl$(SUFFIX) _hashlib$(SUFFIX)
33 _hashlib$(SUFFIX): $(HASH_SOURCE) $(SSL_LIB_DIR)/libeay32.lib ../../PC/*.h ../../Include/*.h
34 @if not exist "$(TEMP)/_hashlib/." mkdir "$(TEMP)/_hashlib"
35 cl /nologo /c $(HASH_SOURCE) $(CFLAGS) $(EXTRA_CFLAGS) /Fo$(TEMP)\_hashlib\$*.obj $(INCLUDES)
37 /dll /out:_hashlib$(SUFFIX) $(HASH_LIBS) $(EXTRA_LIBS) $(TEMP)\_hashlib\$*.obj
/external/python/cpython3/Lib/test/support/
Dhashlib_helper.py6 import _hashlib
8 _hashlib = None variable
28 if openssl and _hashlib is not None:
29 _hashlib.new(digestname, usedforsecurity=usedforsecurity)
/external/python/cpython3/Lib/
Dhashlib.py133 f = getattr(_hashlib, 'openssl_' + name)
160 return _hashlib.new(name, data, **kwargs)
170 import _hashlib
174 _hashlib.openssl_md_meth_names)
181 from _hashlib import pbkdf2_hmac
245 from _hashlib import scrypt
Dhmac.py8 import _hashlib as _hashopenssl
16 import hashlib as _hashlib namespace
61 self._digest_cons = lambda d=b'': _hashlib.new(digestmod, d)
189 digest_cons = lambda d=b'': _hashlib.new(digest, d)
/external/python/cpython2/Lib/
Dhashlib.py102 f = getattr(_hashlib, 'openssl_' + name)
124 return _hashlib.new(name, string)
134 import _hashlib
138 _hashlib.openssl_md_meth_names)
155 from _hashlib import pbkdf2_hmac
Drandom.py49 import hashlib as _hashlib namespace
158 n = int(_hashlib.new('sha512', s).hexdigest(), 16)
/external/python/cpython2/Lib/test/
Dtime_hashlib.py51 import _hashlib
53 print "testing speed of _hashlib.%s" % sys.argv[2], getattr(_hashlib, sys.argv[2])
55 import _hashlib
Dtest_hashlib.py72 _hashlib = self._conditional_import_module('_hashlib')
73 if _hashlib:
76 assert hasattr(_hashlib, 'openssl_md5')
77 assert hasattr(_hashlib, 'openssl_sha1')
79 constructor = getattr(_hashlib, 'openssl_'+algorithm, None)
/external/python/cpython3/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.py48 from _hashlib import HASH, HASHXOF, openssl_md_meth_names
141 _hashlib = self._conditional_import_module('_hashlib')
142 self._hashlib = _hashlib
143 if _hashlib:
146 self.assertTrue(hasattr(_hashlib, 'openssl_md5'))
147 self.assertTrue(hasattr(_hashlib, 'openssl_sha1'))
149 constructor = getattr(_hashlib, 'openssl_'+algorithm, None)
199 if hasattr(self._hashlib, "get_fips_mode"):
200 return self._hashlib.get_fips_mode()
231 if self._hashlib is not None:
[all …]
Dpythoninfo.py725 import _hashlib
727 _hashlib = None
729 if _hashlib is not None:
730 call_func(info_add, 'fips.openssl_fips_mode', _hashlib, 'get_fips_mode')
Dtest_hmac.py14 from _hashlib import HMAC as C_HMAC
15 from _hashlib import hmac_new as c_hmac_new
16 from _hashlib import compare_digest as openssl_compare_digest
/external/python/cpython3/android/linux_x86_64/
DSetup.local3 _hashlib _hashopenssl.c
/external/python/cpython3/android/darwin_x86_64/
DSetup.local4 _hashlib _hashopenssl.c
/external/python/cpython3/android/
DSetup.local53 #_hashlib _hashopenssl.c
/external/python/cpython3/Misc/NEWS.d/
D3.9.0b2.rst274 ``_hashlib.new()``. test_hashlib and test_smtplib handle strict security
294 Prepare ``_hashlib`` for :pep:`489` and use :c:func:`PyModule_AddType`.
D3.9.0b1.rst243 The internal module ``_hashlib`` wraps and exposes OpenSSL's HMAC API. The
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.
/external/python/cpython2/PCbuild/
Dreadme.txt167 _hashlib
225 required by _ssl and _hashlib and may need to be manually updated when
227 functionality to _ssl or _hashlib. They will not clean up their output
Dpcbuild.sln48 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcxproj", "{447F05A8-F581…
/external/python/cpython3/PCbuild/
Dreadme.txt138 _hashlib
Dpcbuild.sln58 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcxproj", "{447F05A8-F581…
/external/python/cpython2/PC/VS9.0/
Dpcbuild.sln117 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcproj", "{447F05A8-F581-…
/external/python/cpython2/PC/VS8.0/
Dpcbuild.sln117 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "_hashlib", "_hashlib.vcproj", "{447F05A8-F581-…
/external/python/cpython3/Doc/whatsnew/
D3.9.rst93 :mod:`_hashlib`, :mod:`pwd`, :mod:`_posixsubprocess`, :mod:`random`,

12