Home
last modified time | relevance | path

Searched refs:constant_time_eq_int (Results 1 – 6 of 6) sorted by relevance

/third_party/openssl/include/internal/
Dconstant_time.h68 static ossl_inline unsigned int constant_time_eq_int(int a, int b);
206 static ossl_inline unsigned int constant_time_eq_int(int a, int b) in constant_time_eq_int() function
/third_party/openssl/crypto/bn/
Dbn_exp.c541 ((BN_ULONG)0 - (constant_time_eq_int(j,idx)&1)); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
553 y0 = (BN_ULONG)0 - (constant_time_eq_int(i,0)&1); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
554 y1 = (BN_ULONG)0 - (constant_time_eq_int(i,1)&1); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
555 y2 = (BN_ULONG)0 - (constant_time_eq_int(i,2)&1); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
556 y3 = (BN_ULONG)0 - (constant_time_eq_int(i,3)&1); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
566 & ((BN_ULONG)0 - (constant_time_eq_int(j,idx)&1)); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
Dbn_lib.c160 mask = constant_time_eq_int(i, j); /* 0xff..ff if i==j, 0x0 otherwise */ in bn_num_bits_consttime()
172 mask = ~(constant_time_eq_int(i, ((int)-1))); in bn_num_bits_consttime()
/third_party/openssl/test/
Dconstant_time_test.c239 if (a == b && !TEST_uint_eq(constant_time_eq_int(a, b), CONSTTIME_TRUE)) in test_eq_int()
241 if (a != b && !TEST_uint_eq(constant_time_eq_int(a, b), CONSTTIME_FALSE)) in test_eq_int()
/third_party/openssl/crypto/err/
Derr.c950 clear = constant_time_select_int(constant_time_eq_int(clear, 0), in err_clear_last_constant_time()
/third_party/openssl/ssl/record/
Dssl3_record.c1171 ret = constant_time_select_int(constant_time_eq_int(tmpret, 1), in tls1_enc()