Home
last modified time | relevance | path

Searched refs:primes_size (Results 1 – 2 of 2) sorted by relevance

/external/chromium/crypto/
Drsa_private_key_win.cc157 int primes_size = rsa_pub_key->bitlen / 16; in ExportPrivateKey() local
164 pki.prime1()->assign(pos, pos + primes_size); in ExportPrivateKey()
165 pos += primes_size; in ExportPrivateKey()
166 pki.prime2()->assign(pos, pos + primes_size); in ExportPrivateKey()
167 pos += primes_size; in ExportPrivateKey()
169 pki.exponent1()->assign(pos, pos + primes_size); in ExportPrivateKey()
170 pos += primes_size; in ExportPrivateKey()
171 pki.exponent2()->assign(pos, pos + primes_size); in ExportPrivateKey()
172 pos += primes_size; in ExportPrivateKey()
174 pki.coefficient()->assign(pos, pos + primes_size); in ExportPrivateKey()
[all …]
Drsa_private_key.cc153 int primes_size = mod_size / 2; in Import() local
157 !ReadIntegerWithExpectedSize(&src, end, primes_size, &prime1_) || in Import()
158 !ReadIntegerWithExpectedSize(&src, end, primes_size, &prime2_) || in Import()
159 !ReadIntegerWithExpectedSize(&src, end, primes_size, &exponent1_) || in Import()
160 !ReadIntegerWithExpectedSize(&src, end, primes_size, &exponent2_) || in Import()
161 !ReadIntegerWithExpectedSize(&src, end, primes_size, &coefficient_)) in Import()