Home
last modified time | relevance | path

Searched refs:numberToByteArray (Results 1 – 10 of 10) sorted by relevance

/external/chromium_org/third_party/tlslite/tlslite/
Dverifierdb.py59 N = b2a_base64(numberToByteArray(N))
60 g = b2a_base64(numberToByteArray(g))
62 verifier = b2a_base64(numberToByteArray(verifier))
Dmathtls.py98 nLength = len(numberToByteArray(n))
99 b = numberToByteArray(x)
108 return bytesToNumber(SHA1(numberToByteArray(N) + PAD(N, g)))
Dmessages.py537 w.addVarSeq(numberToByteArray(self.srp_N), 1, 2)
538 w.addVarSeq(numberToByteArray(self.srp_g), 1, 2)
540 w.addVarSeq(numberToByteArray(self.srp_B), 1, 2)
542 w.addVarSeq(numberToByteArray(self.dh_p), 1, 2)
543 w.addVarSeq(numberToByteArray(self.dh_g), 1, 2)
544 w.addVarSeq(numberToByteArray(self.dh_Ys), 1, 2)
618 w.addVarSeq(numberToByteArray(self.srp_A), 1, 2)
627 w.addVarSeq(numberToByteArray(self.dh_Yc), 1, 2)
Dtlsconnection.py122 return numberToByteArray(S)
852 premasterSecret = numberToByteArray(S)
999 premasterSecret = numberToByteArray(S)
1599 premasterSecret = numberToByteArray(S)
1767 premasterSecret = numberToByteArray(S)
/external/chromium_org/third_party/tlslite/tlslite/utils/
Drsakey.py109 sigBytes = numberToByteArray(c, numBytes(self.n))
133 checkBytes = numberToByteArray(m, numBytes(self.n))
152 encBytes = numberToByteArray(c, numBytes(self.n))
176 decBytes = numberToByteArray(m, numBytes(self.n))
Dpycrypto_rsakey.py29 s = bytes(numberToByteArray(m, numBytes(self.n)))
34 s = bytes(numberToByteArray(c, numBytes(self.n)))
Dopenssl_rsakey.py62 b = numberToByteArray(m, numBytes(self.n))
68 b = numberToByteArray(c, numBytes(self.n))
Dcryptomath.py101 def numberToByteArray(n, howManyBytes=None): function
123 b = numberToByteArray(n)
/external/chromium_org/third_party/tlslite/patches/
Dpycrypto_python2.patch28 def numberToByteArray(n, howManyBytes=None):
40 + s = bytes(numberToByteArray(m, numBytes(self.n)))
47 + s = bytes(numberToByteArray(c, numBytes(self.n)))
Ddhe_rsa.patch166 w.addVarSeq(numberToByteArray(self.srp_N), 1, 2)
167 w.addVarSeq(numberToByteArray(self.srp_g), 1, 2)
169 w.addVarSeq(numberToByteArray(self.srp_B), 1, 2)
174 w.addVarSeq(numberToByteArray(self.dh_p), 1, 2)
175 w.addVarSeq(numberToByteArray(self.dh_g), 1, 2)
176 w.addVarSeq(numberToByteArray(self.dh_Ys), 1, 2)
316 + return numberToByteArray(S)