Searched refs:mod_size (Results 1 – 6 of 6) sorted by relevance
44 params_.rsa.mod_size = kRsaDefaultModSize; in KeyParams()52 KeyParams KeyParams::RSA(int mod_size, int pub_exp) { in RSA() argument54 kt.params_.rsa.mod_size = mod_size; in RSA()68 return (params_.rsa.mod_size >= kRsaMinModSize && in IsValid()69 params_.rsa.mod_size <= kRsaMaxModSize && in IsValid()70 params_.rsa.pub_exp > params_.rsa.mod_size); in IsValid()
129 unsigned int mod_size; member141 static KeyParams RSA(int mod_size = kRsaDefaultModSize,
50 int key_length = key_params.rsa_params().mod_size; in MakeKey()
149 int mod_size = modulus_.size(); in Import() local150 READ_ASSERT(mod_size % 2 == 0); in Import()151 int primes_size = mod_size / 2; in Import()154 !ReadIntegerWithExpectedSize(&src, end, mod_size, &private_exponent_) || in Import()
626 size_t mod_size = (mod+1) << lg_delta; in index2size_compute() local628 size_t usize = grp_size + mod_size; in index2size_compute()
626 size_t mod_size = (mod+1) << lg_delta; local628 size_t usize = grp_size + mod_size;