Home
last modified time | relevance | path

Searched refs:constant_time_select_int (Results 1 – 16 of 16) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/rsa/
Drsa_pk1.c216 zero_index = constant_time_select_int(~found_zero_byte & equals0, in RSA_padding_check_PKCS1_type_2()
250 tlen = constant_time_select_int(constant_time_lt(num - RSA_PKCS1_PADDING_SIZE, tlen), in RSA_padding_check_PKCS1_type_2()
273 return constant_time_select_int(good, mlen, -1); in RSA_padding_check_PKCS1_type_2()
Drsa_oaep.c262 one_index = constant_time_select_int(~found_one_byte & equals1, in RSA_padding_check_PKCS1_OAEP_mgf1()
293 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen), in RSA_padding_check_PKCS1_OAEP_mgf1()
322 return constant_time_select_int(good, mlen, -1); in RSA_padding_check_PKCS1_OAEP_mgf1()
Drsa_pmeth.c373 ret = constant_time_select_int(constant_time_msb(ret), ret, 1); in pkey_rsa_decrypt()
/third_party/openssl/crypto/rsa/
Drsa_pk1.c216 zero_index = constant_time_select_int(~found_zero_byte & equals0, in RSA_padding_check_PKCS1_type_2()
250 tlen = constant_time_select_int(constant_time_lt(num - RSA_PKCS1_PADDING_SIZE, tlen), in RSA_padding_check_PKCS1_type_2()
273 return constant_time_select_int(good, mlen, -1); in RSA_padding_check_PKCS1_type_2()
Drsa_oaep.c262 one_index = constant_time_select_int(~found_one_byte & equals1, in RSA_padding_check_PKCS1_OAEP_mgf1()
293 tlen = constant_time_select_int(constant_time_lt(dblen - mdlen - 1, tlen), in RSA_padding_check_PKCS1_OAEP_mgf1()
322 return constant_time_select_int(good, mlen, -1); in RSA_padding_check_PKCS1_OAEP_mgf1()
Drsa_pmeth.c373 ret = constant_time_select_int(constant_time_msb(ret), ret, 1); in pkey_rsa_decrypt()
/third_party/openssl/ohos_lite/include/internal/
Dconstant_time.h95 static ossl_inline int constant_time_select_int(unsigned int mask, int a,
291 static ossl_inline int constant_time_select_int(unsigned int mask, int a, in constant_time_select_int() function
/third_party/node/deps/openssl/openssl/include/internal/
Dconstant_time.h96 static ossl_inline int constant_time_select_int(unsigned int mask, int a,
297 static ossl_inline int constant_time_select_int(unsigned int mask, int a, in constant_time_select_int() function
/third_party/openssl/include/internal/
Dconstant_time.h96 static ossl_inline int constant_time_select_int(unsigned int mask, int a,
297 static ossl_inline int constant_time_select_int(unsigned int mask, int a, in constant_time_select_int() function
/third_party/openssl/test/
Dconstant_time_test.c212 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()
/third_party/openssl/crypto/bn/
Dbn_lib.c1037 atop = constant_time_select_int(mask, j + 1, atop); in bn_correct_top_consttime()
1042 a->neg = constant_time_select_int(mask, 0, a->neg); in bn_correct_top_consttime()
/third_party/node/deps/openssl/openssl/crypto/bn/
Dbn_lib.c1037 atop = constant_time_select_int(mask, j + 1, atop); in bn_correct_top_consttime()
1042 a->neg = constant_time_select_int(mask, 0, a->neg); in bn_correct_top_consttime()
/third_party/openssl/providers/implementations/asymciphers/
Drsa_enc.c283 ret = constant_time_select_int(constant_time_msb(ret), 0, 1); in rsa_decrypt()
/third_party/node/deps/openssl/openssl/providers/implementations/asymciphers/
Drsa_enc.c283 ret = constant_time_select_int(constant_time_msb(ret), 0, 1); in rsa_decrypt()
/third_party/openssl/crypto/err/
Derr.c948 clear = constant_time_select_int(constant_time_eq_int(clear, 0), in err_clear_last_constant_time()
/third_party/node/deps/openssl/openssl/crypto/err/
Derr.c948 clear = constant_time_select_int(constant_time_eq_int(clear, 0), in err_clear_last_constant_time()