/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead",
10 from hashlib import md5
|
sha.py | 7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
10 from hashlib import sha1 as sha
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead",
10 from hashlib import md5
|
sha.py | 7 warnings.warn("the sha module is deprecated; use the hashlib module instead",
10 from hashlib import sha1 as sha
|
/external/python/cpython2/Lib/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead", 10 from hashlib import md5
|
sha.py | 7 warnings.warn("the sha module is deprecated; use the hashlib module instead", 10 from hashlib import sha1 as sha
|
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead", 10 from hashlib import md5
|
sha.py | 7 warnings.warn("the sha module is deprecated; use the hashlib module instead", 10 from hashlib import sha1 as sha
|
/prebuilts/gdb/linux-x86/lib/python2.7/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead", 10 from hashlib import md5
|
sha.py | 7 warnings.warn("the sha module is deprecated; use the hashlib module instead", 10 from hashlib import sha1 as sha
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead", 10 from hashlib import md5
|
sha.py | 7 warnings.warn("the sha module is deprecated; use the hashlib module instead", 10 from hashlib import sha1 as sha
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead", 10 from hashlib import md5
|
sha.py | 7 warnings.warn("the sha module is deprecated; use the hashlib module instead", 10 from hashlib import sha1 as sha
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_hmac.py | 2 import hashlib
47 h = hmac.HMAC(key, data, digestmod=hashlib.sha1)
88 hashlib.sha224: '896fb1128abbdf196832107cd49df33f'
90 hashlib.sha256: 'b0344c61d8db38535ca8afceaf0bf12b'
92 hashlib.sha384: 'afd03944d84895626b0825f4ab46907f'
95 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0'
105 hashlib.sha224: 'a30e01098bc6dbbf45690f3a7e9e6d0f'
107 hashlib.sha256: '5bdcc146bf60754e6a042426089575c7'
109 hashlib.sha384: 'af45d2e376484031617f78d2b58a6b1b'
112 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3' [all...] |
time_hashlib.py | 2 # hashlib functions; it does not test for correctness.
5 import hashlib
58 elif hasattr(hashlib, hName) and callable(getattr(hashlib, hName)):
59 creatorFunc = getattr(hashlib, hName)
60 print "testing speed of hashlib."+hName, getattr(hashlib, hName)
62 exec "creatorFunc = lambda x=hashlib.new : x(%r)" % hName
63 print "testing speed of hashlib.new(%r)" % hName
73 print " 'hName' tests the hashlib.hName() implementation if it exists" [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_hmac.py | 2 import hashlib 47 h = hmac.HMAC(key, data, digestmod=hashlib.sha1) 88 hashlib.sha224: '896fb1128abbdf196832107cd49df33f' 90 hashlib.sha256: 'b0344c61d8db38535ca8afceaf0bf12b' 92 hashlib.sha384: 'afd03944d84895626b0825f4ab46907f' 95 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0' 105 hashlib.sha224: 'a30e01098bc6dbbf45690f3a7e9e6d0f' 107 hashlib.sha256: '5bdcc146bf60754e6a042426089575c7' 109 hashlib.sha384: 'af45d2e376484031617f78d2b58a6b1b' 112 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3 [all...] |
time_hashlib.py | 2 # hashlib functions; it does not test for correctness. 5 import hashlib 58 elif hasattr(hashlib, hName) and callable(getattr(hashlib, hName)): 59 creatorFunc = getattr(hashlib, hName) 60 print "testing speed of hashlib."+hName, getattr(hashlib, hName) 62 exec "creatorFunc = lambda x=hashlib.new : x(%r)" % hName 63 print "testing speed of hashlib.new(%r)" % hName 73 print " 'hName' tests the hashlib.hName() implementation if it exists [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_hmac.py | 2 import hashlib 47 h = hmac.HMAC(key, data, digestmod=hashlib.sha1) 88 hashlib.sha224: '896fb1128abbdf196832107cd49df33f' 90 hashlib.sha256: 'b0344c61d8db38535ca8afceaf0bf12b' 92 hashlib.sha384: 'afd03944d84895626b0825f4ab46907f' 95 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0' 105 hashlib.sha224: 'a30e01098bc6dbbf45690f3a7e9e6d0f' 107 hashlib.sha256: '5bdcc146bf60754e6a042426089575c7' 109 hashlib.sha384: 'af45d2e376484031617f78d2b58a6b1b' 112 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3 [all...] |
time_hashlib.py | 2 # hashlib functions; it does not test for correctness. 5 import hashlib 58 elif hasattr(hashlib, hName) and callable(getattr(hashlib, hName)): 59 creatorFunc = getattr(hashlib, hName) 60 print "testing speed of hashlib."+hName, getattr(hashlib, hName) 62 exec "creatorFunc = lambda x=hashlib.new : x(%r)" % hName 63 print "testing speed of hashlib.new(%r)" % hName 73 print " 'hName' tests the hashlib.hName() implementation if it exists [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_hmac.py | 2 import hashlib 47 h = hmac.HMAC(key, data, digestmod=hashlib.sha1) 88 hashlib.sha224: '896fb1128abbdf196832107cd49df33f' 90 hashlib.sha256: 'b0344c61d8db38535ca8afceaf0bf12b' 92 hashlib.sha384: 'afd03944d84895626b0825f4ab46907f' 95 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0' 105 hashlib.sha224: 'a30e01098bc6dbbf45690f3a7e9e6d0f' 107 hashlib.sha256: '5bdcc146bf60754e6a042426089575c7' 109 hashlib.sha384: 'af45d2e376484031617f78d2b58a6b1b' 112 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_hmac.py | 2 import hashlib 47 h = hmac.HMAC(key, data, digestmod=hashlib.sha1) 88 hashlib.sha224: '896fb1128abbdf196832107cd49df33f' 90 hashlib.sha256: 'b0344c61d8db38535ca8afceaf0bf12b' 92 hashlib.sha384: 'afd03944d84895626b0825f4ab46907f' 95 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0' 105 hashlib.sha224: 'a30e01098bc6dbbf45690f3a7e9e6d0f' 107 hashlib.sha256: '5bdcc146bf60754e6a042426089575c7' 109 hashlib.sha384: 'af45d2e376484031617f78d2b58a6b1b' 112 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3 [all...] |
/external/python/cpython2/Lib/test/ |
test_hmac.py | 4 import hashlib 49 h = hmac.HMAC(key, data, digestmod=hashlib.sha1) 90 hashlib.sha224: '896fb1128abbdf196832107cd49df33f' 92 hashlib.sha256: 'b0344c61d8db38535ca8afceaf0bf12b' 94 hashlib.sha384: 'afd03944d84895626b0825f4ab46907f' 97 hashlib.sha512: '87aa7cdea5ef619d4ff0b4241a1d6cb0' 107 hashlib.sha224: 'a30e01098bc6dbbf45690f3a7e9e6d0f' 109 hashlib.sha256: '5bdcc146bf60754e6a042426089575c7' 111 hashlib.sha384: 'af45d2e376484031617f78d2b58a6b1b' 114 hashlib.sha512: '164b7a7bfcf819e2e395fbe73b56e0a3 [all...] |
time_hashlib.py | 2 # hashlib functions; it does not test for correctness. 5 import hashlib 58 elif hasattr(hashlib, hName) and callable(getattr(hashlib, hName)): 59 creatorFunc = getattr(hashlib, hName) 60 print "testing speed of hashlib."+hName, getattr(hashlib, hName) 62 exec "creatorFunc = lambda x=hashlib.new : x(%r)" % hName 63 print "testing speed of hashlib.new(%r)" % hName 73 print " 'hName' tests the hashlib.hName() implementation if it exists [all...] |
/external/autotest/server/site_tests/firmware_TPMExtend/ |
firmware_TPMExtend.py | 5 import hashlib, logging 21 """Returns true iff PCR |num| was extended with hashlib |hash_obj|.""" 26 extended = hashlib.sha1('\0' * 20 + hash_obj.digest()[:20]).hexdigest() 36 if not self._check_pcr(1, hashlib.sha256(hwid)): 45 if not self._check_pcr(0, hashlib.sha1(chr(0) + chr(0) + chr(1))): 55 if not self._check_pcr(0, hashlib.sha1(chr(0) + chr(1) + chr(0))): 67 if not self._check_pcr(0, hashlib.sha1(chr(1) + chr(0) + chr(1))): 77 if not self._check_pcr(0, hashlib.sha1(chr(1) + chr(1) + chr(0))):
|