Lines Matching refs:flen

40                                const unsigned char *from, int flen,  in RSA_padding_add_PKCS1_OAEP()  argument
43 return ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex(NULL, to, tlen, from, flen, in RSA_padding_add_PKCS1_OAEP()
56 const unsigned char *from, int flen, in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex() argument
98 if (flen > emlen - 2 * mdlen - 1) { in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
117 memset(db + mdlen, 0, emlen - flen - 2 * mdlen - 1); in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
119 db[emlen - flen - mdlen - 1] = 0x01; in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
120 memcpy(db + emlen - flen - mdlen, from, (unsigned int)flen); in ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex()
152 const unsigned char *from, int flen, in RSA_padding_add_PKCS1_OAEP_mgf1() argument
156 return ossl_rsa_padding_add_PKCS1_OAEP_mgf1_ex(NULL, to, tlen, from, flen, in RSA_padding_add_PKCS1_OAEP_mgf1()
161 const unsigned char *from, int flen, int num, in RSA_padding_check_PKCS1_OAEP() argument
164 return RSA_padding_check_PKCS1_OAEP_mgf1(to, tlen, from, flen, num, in RSA_padding_check_PKCS1_OAEP()
169 const unsigned char *from, int flen, in RSA_padding_check_PKCS1_OAEP_mgf1() argument
211 if (tlen <= 0 || flen <= 0 || mdlen <= 0) in RSA_padding_check_PKCS1_OAEP_mgf1()
221 if (num < flen || num < 2 * mdlen + 2) { in RSA_padding_check_PKCS1_OAEP_mgf1()
241 for (from += flen, em += num, i = 0; i < num; i++) { in RSA_padding_check_PKCS1_OAEP_mgf1()
242 mask = ~constant_time_is_zero(flen); in RSA_padding_check_PKCS1_OAEP_mgf1()
243 flen -= 1 & mask; in RSA_padding_check_PKCS1_OAEP_mgf1()