Searched refs:mod_size (Results 1 – 2 of 2) sorted by relevance
156 int mod_size = rsa_pub_key->bitlen / 8; in ExportPrivateKey() local161 pki.modulus()->assign(pos, pos + mod_size); in ExportPrivateKey()162 pos += mod_size; in ExportPrivateKey()177 pki.private_exponent()->assign(pos, pos + mod_size); in ExportPrivateKey()178 pos += mod_size; in ExportPrivateKey()
151 int mod_size = modulus_.size(); in Import() local152 READ_ASSERT(mod_size % 2 == 0); in Import()153 int primes_size = mod_size / 2; in Import()156 !ReadIntegerWithExpectedSize(&src, end, mod_size, &private_exponent_) || in Import()