Searched refs:constant_time_eq_int (Results 1 – 5 of 5) sorted by relevance
/openssl/include/internal/ |
H A D | constant_time.h | 69 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 D | constant_time_test.c | 239 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 D | bn_exp.c | 558 ((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 D | bn_lib.c | 162 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 D | err.c | 895 clear = constant_time_select_int(constant_time_eq_int(clear, 0), in err_clear_last_constant_time()
|
Completed in 23 milliseconds