HomeSort by relevance Sort by last modified time
    Searched refs:digestmod (Results 1 - 7 of 7) sorted by null

  /external/chromium_org/third_party/tlslite/tlslite/utils/
hmac.py 24 def __init__(self, key, msg = None, digestmod = None):
29 digestmod: A module supporting PEP 247. Defaults to the md5 module.
31 if digestmod is None:
33 digestmod = md5
38 self.digestmod = digestmod
39 self.outer = digestmod.new()
40 self.inner = digestmod.new()
41 self.digest_size = digestmod.digest_size
48 key = digestmod.new(key).digest(
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
hmac.py 27 def __init__(self, key, msg = None, digestmod = None):
32 digestmod: A module supporting PEP 247. *OR*
40 if digestmod is None:
42 digestmod = hashlib.md5
44 if hasattr(digestmod, '__call__'):
45 self.digest_cons = digestmod
47 self.digest_cons = lambda d='': digestmod.new(d)
122 def new(key, msg = None, digestmod = None):
133 return HMAC(key, msg, digestmod)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
hmac.py 27 def __init__(self, key, msg = None, digestmod = None):
32 digestmod: A module supporting PEP 247. *OR*
40 if digestmod is None:
42 digestmod = hashlib.md5
44 if hasattr(digestmod, '__call__'):
45 self.digest_cons = digestmod
47 self.digest_cons = lambda d='': digestmod.new(d)
122 def new(key, msg = None, digestmod = None):
133 return HMAC(key, msg, digestmod)
  /external/chromium_org/third_party/tlslite/tlslite/
mathtls.py 118 def __init__(self, key, msg = None, digestmod = None):
123 digestmod: A module supporting PEP 247. Defaults to the md5 module.
125 if digestmod is None:
127 digestmod = md5
132 self.digestmod = digestmod
133 self.outer = digestmod.new()
134 self.inner = digestmod.new()
135 self.digest_size = digestmod.digest_size
160 other.digestmod = self.digestmo
    [all...]
TLSRecordLayer.py     [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_hmac.py 47 h = hmac.HMAC(key, data, digestmod=hashlib.sha1)
81 h = hmac.HMAC(key, data, digestmod=hashfunc)
217 hmac.HMAC('a', 'b', digestmod=MockCrazyHash)
222 hmac.HMAC('a', 'b', digestmod=MockCrazyHash)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_hmac.py 47 h = hmac.HMAC(key, data, digestmod=hashlib.sha1)
81 h = hmac.HMAC(key, data, digestmod=hashfunc)
217 hmac.HMAC('a', 'b', digestmod=MockCrazyHash)
222 hmac.HMAC('a', 'b', digestmod=MockCrazyHash)

Completed in 645 milliseconds