Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/include/internal/
H A Dconstant_time.h72 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 Dconstant_time_test.c238 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 Dbn_exp.c555 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 Dbn_lib.c161 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 Derr.c895 clear = constant_time_select_int(constant_time_eq_int(clear, 0), in err_clear_last_constant_time()