Searched refs:constant_time_select_int (Results 1 – 8 of 8) sorted by relevance
/openssl/crypto/rsa/ |
H A D | rsa_pk1.c | 218 zero_index = constant_time_select_int(~found_zero_byte & equals0, in RSA_padding_check_PKCS1_type_2() 252 tlen = constant_time_select_int(constant_time_lt(num - RSA_PKCS1_PADDING_SIZE, tlen), in RSA_padding_check_PKCS1_type_2() 275 return constant_time_select_int(good, mlen, -1); in RSA_padding_check_PKCS1_type_2() 461 synthetic_length = constant_time_select_int( in ossl_rsa_padding_check_PKCS1_type_2() 476 zero_index = constant_time_select_int(~found_zero_byte & equals0, in ossl_rsa_padding_check_PKCS1_type_2() 501 msg_index = constant_time_select_int(good, msg_index, synth_msg_index); in ossl_rsa_padding_check_PKCS1_type_2()
|
H A D | rsa_oaep.c | 280 one_index = constant_time_select_int(~found_one_byte & equals1, in RSA_padding_check_PKCS1_OAEP_mgf1() 311 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen), in RSA_padding_check_PKCS1_OAEP_mgf1() 340 return constant_time_select_int(good, mlen, -1); in RSA_padding_check_PKCS1_OAEP_mgf1()
|
H A D | rsa_pmeth.c | 394 ret = constant_time_select_int(constant_time_msb(ret), ret, 1); in pkey_rsa_decrypt()
|
/openssl/crypto/bn/ |
H A D | bn_lib.c | 720 res = constant_time_select_int(constant_time_lt_bn(ap[i], bp[i]), in BN_ucmp() 722 res = constant_time_select_int(constant_time_lt_bn(bp[i], ap[i]), in BN_ucmp() 1059 res = constant_time_select_int(constant_time_eq_bn(ap[0], w), 1, 0); in ossl_bn_is_word_fixed_top() 1062 res = constant_time_select_int(constant_time_is_zero_bn(ap[i]), in ossl_bn_is_word_fixed_top() 1164 atop = constant_time_select_int(mask, j + 1, atop); in bn_correct_top_consttime() 1169 a->neg = constant_time_select_int(mask, 0, a->neg); in bn_correct_top_consttime()
|
/openssl/include/internal/ |
H A D | constant_time.h | 96 static ossl_inline int constant_time_select_int(unsigned int mask, int a, 338 static ossl_inline int constant_time_select_int(unsigned int mask, int a, in constant_time_select_int() function
|
/openssl/test/ |
H A D | constant_time_test.c | 212 if (!TEST_int_eq(constant_time_select_int(CONSTTIME_TRUE, a, b), a)) in test_select_int() 214 if (!TEST_int_eq(constant_time_select_int(CONSTTIME_FALSE, a, b), b)) in test_select_int()
|
/openssl/providers/implementations/asymciphers/ |
H A D | rsa_enc.c | 311 ret = constant_time_select_int(constant_time_msb(ret), 0, 1); in rsa_decrypt()
|
/openssl/crypto/err/ |
H A D | err.c | 895 clear = constant_time_select_int(constant_time_eq_int(clear, 0), in err_clear_last_constant_time()
|
Completed in 31 milliseconds