Searched refs:numberToByteArray (Results 1 – 10 of 10) sorted by relevance
/external/chromium_org/third_party/tlslite/tlslite/ |
D | verifierdb.py | 59 N = b2a_base64(numberToByteArray(N)) 60 g = b2a_base64(numberToByteArray(g)) 62 verifier = b2a_base64(numberToByteArray(verifier))
|
D | mathtls.py | 98 nLength = len(numberToByteArray(n)) 99 b = numberToByteArray(x) 108 return bytesToNumber(SHA1(numberToByteArray(N) + PAD(N, g)))
|
D | messages.py | 537 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)
|
D | tlsconnection.py | 122 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/ |
D | rsakey.py | 109 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))
|
D | pycrypto_rsakey.py | 29 s = bytes(numberToByteArray(m, numBytes(self.n))) 34 s = bytes(numberToByteArray(c, numBytes(self.n)))
|
D | openssl_rsakey.py | 62 b = numberToByteArray(m, numBytes(self.n)) 68 b = numberToByteArray(c, numBytes(self.n))
|
D | cryptomath.py | 101 def numberToByteArray(n, howManyBytes=None): function 123 b = numberToByteArray(n)
|
/external/chromium_org/third_party/tlslite/patches/ |
D | pycrypto_python2.patch | 28 def numberToByteArray(n, howManyBytes=None): 40 + s = bytes(numberToByteArray(m, numBytes(self.n))) 47 + s = bytes(numberToByteArray(c, numBytes(self.n)))
|
D | dhe_rsa.patch | 166 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)
|