Lines Matching defs:flen
40 const unsigned char *from, int flen,
43 return ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex(NULL, to, tlen, from, flen,
56 const unsigned char *from, int flen,
86 if (flen > emlen - 2 * mdlen - 1) {
105 memset(db + mdlen, 0, emlen - flen - 2 * mdlen - 1);
107 db[emlen - flen - mdlen - 1] = 0x01;
108 memcpy(db + emlen - flen - mdlen, from, (unsigned int)flen);
142 const unsigned char *from, int flen,
146 return ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex(NULL, to, tlen, from, flen,
151 const unsigned char *from, int flen, int num,
154 return RSA_padding_check_PKCS1_OAEP_mgf1(to, tlen, from, flen, num,
159 const unsigned char *from, int flen,
189 if (tlen <= 0 || flen <= 0)
192 * |num| is the length of the modulus; |flen| is the length of the
194 * decrypting a ciphertext, we must have |flen| <= |num|. Similarly,
199 if (num < flen || num < 2 * mdlen + 2) {
223 for (from += flen, em += num, i = 0; i < num; i++) {
224 mask = ~constant_time_is_zero(flen);
225 flen -= 1 & mask;