Home
last modified time | relevance | path

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

/openssl/include/internal/
H A Dconstant_time.h69 static ossl_inline unsigned int constant_time_eq_int(int a, int b);
253 static ossl_inline unsigned int constant_time_eq_int(int a, int b) in constant_time_eq_int() function
/openssl/test/
H A 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()
/openssl/crypto/bn/
H A Dbn_exp.c558 ((BN_ULONG)0 - (constant_time_eq_int(j,idx)&1)); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
570 y0 = (BN_ULONG)0 - (constant_time_eq_int(i,0)&1); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
571 y1 = (BN_ULONG)0 - (constant_time_eq_int(i,1)&1); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
572 y2 = (BN_ULONG)0 - (constant_time_eq_int(i,2)&1); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
573 y3 = (BN_ULONG)0 - (constant_time_eq_int(i,3)&1); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
583 & ((BN_ULONG)0 - (constant_time_eq_int(j,idx)&1)); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
H A Dbn_lib.c162 mask = constant_time_eq_int(i, j); /* 0xff..ff if i==j, 0x0 otherwise */ in bn_num_bits_consttime()
174 mask = ~(constant_time_eq_int(i, ((int)-1))); in bn_num_bits_consttime()
1167 mask = constant_time_eq_int(atop, 0); in bn_correct_top_consttime()
/openssl/crypto/err/
H A Derr.c895 clear = constant_time_select_int(constant_time_eq_int(clear, 0), in err_clear_last_constant_time()

Completed in 23 milliseconds