Lines Matching defs:flen
32 const unsigned char *from, int flen,
35 return RSA_padding_add_PKCS1_OAEP_mgf1(to, tlen, from, flen,
40 const unsigned char *from, int flen,
56 if (flen > emlen - 2 * mdlen - 1) {
74 memset(db + mdlen, 0, emlen - flen - 2 * mdlen - 1);
75 db[emlen - flen - mdlen - 1] = 0x01;
76 memcpy(db + emlen - flen - mdlen, from, (unsigned int)flen);
110 const unsigned char *from, int flen, int num,
113 return RSA_padding_check_PKCS1_OAEP_mgf1(to, tlen, from, flen, num,
118 const unsigned char *from, int flen,
141 if (tlen <= 0 || flen <= 0)
144 * |num| is the length of the modulus; |flen| is the length of the
146 * decrypting a ciphertext, we must have |flen| <= |num|. Similarly,
151 if (num < flen || num < 2 * mdlen + 2) {
177 for (from += flen, em += num, i = 0; i < num; i++) {
178 mask = ~constant_time_is_zero(flen);
179 flen -= 1 & mask;