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

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

Completed in 140 milliseconds