Home
last modified time | relevance | path

Searched refs:getRandomBytes (Results 1 – 9 of 9) sorted by relevance

/external/chromium_org/third_party/tlslite/tlslite/
Dtlsconnection.py19 from .utils.cryptomath import getRandomBytes
61 randomPreMasterSecret = getRandomBytes(48)
102 self.dh_Xs = bytesToNumber(getRandomBytes(self.strength * 2 / 8))
619 clientHello.create(settings.maxVersion, getRandomBytes(32),
629 clientHello.create(settings.maxVersion, getRandomBytes(32),
833 a = bytesToNumber(getRandomBytes(32))
903 premasterSecret = getRandomBytes(48)
988 dh_Xc = bytesToNumber(getRandomBytes(32))
1276 sessionID = getRandomBytes(32)
1293 serverHello.create(self.version, getRandomBytes(32), sessionID, \
[all …]
Dmathtls.py92 salt = getRandomBytes(16)
Dtlsrecordlayer.py19 from .utils.cryptomath import getRandomBytes
1129 self.fixedIVBlock = getRandomBytes(ivLength)
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/
DWebappAuthenticator.java195 byte[] seed = getRandomBytes(MAC_KEY_BYTE_COUNT); in triggerMacKeyGeneration()
208 private static byte[] getRandomBytes(int count) { in getRandomBytes() method in WebappAuthenticator
/external/chromium_org/third_party/tlslite/tlslite/utils/
Dpycrypto_rsakey.py41 return bytes(getRandomBytes(numBytes))
Dcryptomath.py55 def getRandomBytes(howMany): function
171 bytes = getRandomBytes(howManyBytes)
Drsakey.py250 padBytes = getRandomBytes(padLength * 2)
/external/chromium_org/third_party/tlslite/patches/
Ddhe_rsa.patch255 + randomPreMasterSecret = getRandomBytes(48)
296 + self.dh_Xs = bytesToNumber(getRandomBytes(self.strength * 2 / 8))
399 - randomPreMasterSecret = getRandomBytes(48)
Dchannel_id.patch94 serverHello.create(self.version, getRandomBytes(32), sessionID, \