Home | History | Annotate | Download | only in wpa_supplicant

Lines Matching refs:modlen

453 static int pkcs1_generate_encryption_block(u8 block_type, size_t modlen,
467 * k = length of modulus in octets (modlen)
470 if (modlen < 12 || modlen > *outlen || inlen > modlen - 11) {
472 "lengths (modlen=%lu outlen=%lu inlen=%lu)",
473 __func__, (unsigned long) modlen,
482 ps_len = modlen - inlen - 3;
521 size_t modlen;
523 modlen = crypto_rsa_get_modulus_len(key);
525 if (pkcs1_generate_encryption_block(block_type, modlen, in, inlen,
529 return crypto_rsa_exptmod(out, modlen, out, outlen, key, use_private);