Lines Matching refs:from
33 const unsigned char *from, int flen) in RSA_padding_add_PKCS1_type_1() argument
53 memcpy(p, from, (unsigned int)flen); in RSA_padding_add_PKCS1_type_1()
58 const unsigned char *from, int flen, in RSA_padding_check_PKCS1_type_1() argument
64 p = from; in RSA_padding_check_PKCS1_type_1()
126 int tlen, const unsigned char *from, in ossl_rsa_padding_add_PKCS1_type_2_ex() argument
161 memcpy(p, from, (unsigned int)flen); in ossl_rsa_padding_add_PKCS1_type_2_ex()
166 const unsigned char *from, int flen) in RSA_padding_add_PKCS1_type_2() argument
168 return ossl_rsa_padding_add_PKCS1_type_2_ex(NULL, to, tlen, from, flen); in RSA_padding_add_PKCS1_type_2()
172 const unsigned char *from, int flen, in RSA_padding_check_PKCS1_type_2() argument
203 for (from += flen, em += num, i = 0; i < num; i++) { in RSA_padding_check_PKCS1_type_2()
206 from -= 1 & mask; in RSA_padding_check_PKCS1_type_2()
207 *--em = *from & mask; in RSA_padding_check_PKCS1_type_2()
391 const unsigned char *from, int flen, in ossl_rsa_padding_check_PKCS1_type_2() argument
469 good = constant_time_is_zero(from[0]); in ossl_rsa_padding_check_PKCS1_type_2()
470 good &= constant_time_eq(from[1], 2); in ossl_rsa_padding_check_PKCS1_type_2()
475 unsigned int equals0 = constant_time_is_zero(from[i]); in ossl_rsa_padding_check_PKCS1_type_2()
511 to[j] = constant_time_select_8(good, from[i], synthetic[i]); in ossl_rsa_padding_check_PKCS1_type_2()
549 const unsigned char *from, in ossl_rsa_padding_check_PKCS1_type_2_TLS() argument
576 good = constant_time_is_zero(from[0]); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
577 good &= constant_time_eq(from[1], 2); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
581 good &= ~constant_time_is_zero_8(from[i]); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
582 good &= constant_time_is_zero_8(from[flen - SSL_MAX_MASTER_KEY_LENGTH - 1]); in ossl_rsa_padding_check_PKCS1_type_2_TLS()
594 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
597 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH + 1], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
614 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
617 constant_time_eq(from[flen - SSL_MAX_MASTER_KEY_LENGTH + 1], in ossl_rsa_padding_check_PKCS1_type_2_TLS()
632 from[flen - SSL_MAX_MASTER_KEY_LENGTH + i], in ossl_rsa_padding_check_PKCS1_type_2_TLS()