Lines Matching defs:modlen
492 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen,
506 * k = length of modulus in octets (modlen)
509 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) {
511 "lengths (modlen=%lu outlen=%lu inlen=%lu)",
512 __func__, (unsigned long) modlen,
521 ps_len = modlen - inlen - 3;
559 unsigned long len, modlen;
562 modlen = mp_unsigned_bin_size(key->N);
564 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
569 res = rsa_exptmod(out, modlen, out, &len, key_type, key);