Searched refs:mod_size (Results 1 – 2 of 2) sorted by relevance
147 int mod_size = rsa_pub_key->bitlen / 8; in ExportPrivateKey() local152 pki.modulus()->assign(pos, pos + mod_size); in ExportPrivateKey()153 pos += mod_size; in ExportPrivateKey()168 pki.private_exponent()->assign(pos, pos + mod_size); in ExportPrivateKey()169 pos += mod_size; in ExportPrivateKey()
248 int mod_size = modulus_.size(); in Import() local249 READ_ASSERT(mod_size % 2 == 0); in Import()250 int primes_size = mod_size / 2; in Import()253 !ReadIntegerWithExpectedSize(&src, end, mod_size, &private_exponent_) || in Import()