Searched refs:constant_time_eq_int (Results 1 – 5 of 5) sorted by relevance
| /freebsd/crypto/openssl/include/internal/ |
| H A D | constant_time.h | 72 static ossl_inline unsigned int constant_time_eq_int(int a, int b); 259 static ossl_inline unsigned int constant_time_eq_int(int a, int b) in constant_time_eq_int() function
|
| /freebsd/crypto/openssl/test/ |
| H A D | constant_time_test.c | 238 if (a == b && !TEST_uint_eq(constant_time_eq_int(a, b), CONSTTIME_TRUE)) in test_eq_int() 240 if (a != b && !TEST_uint_eq(constant_time_eq_int(a, b), CONSTTIME_FALSE)) in test_eq_int()
|
| /freebsd/crypto/openssl/crypto/bn/ |
| H A D | bn_exp.c | 555 acc |= table[j] & ((BN_ULONG)0 - (constant_time_eq_int(j, idx) & 1)); in MOD_EXP_CTIME_COPY_FROM_PREBUF() 567 y0 = (BN_ULONG)0 - (constant_time_eq_int(i, 0) & 1); in MOD_EXP_CTIME_COPY_FROM_PREBUF() 568 y1 = (BN_ULONG)0 - (constant_time_eq_int(i, 1) & 1); in MOD_EXP_CTIME_COPY_FROM_PREBUF() 569 y2 = (BN_ULONG)0 - (constant_time_eq_int(i, 2) & 1); in MOD_EXP_CTIME_COPY_FROM_PREBUF() 570 y3 = (BN_ULONG)0 - (constant_time_eq_int(i, 3) & 1); in MOD_EXP_CTIME_COPY_FROM_PREBUF() 577 & ((BN_ULONG)0 - (constant_time_eq_int(j, idx) & 1)); in MOD_EXP_CTIME_COPY_FROM_PREBUF()
|
| H A D | bn_lib.c | 161 mask = constant_time_eq_int(i, j); /* 0xff..ff if i==j, 0x0 otherwise */ in bn_num_bits_consttime() 173 mask = ~(constant_time_eq_int(i, ((int)-1))); in bn_num_bits_consttime() 1165 mask = constant_time_eq_int(atop, 0); in bn_correct_top_consttime()
|
| /freebsd/crypto/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()
|