Lines Matching refs:op
61 static int test_binary_op(unsigned int (*op) (unsigned int a, unsigned int b), in test_binary_op()
65 if (is_true && !TEST_uint_eq(op(a, b), CONSTTIME_TRUE)) in test_binary_op()
67 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE)) in test_binary_op()
73 char (*op) (unsigned int a, unsigned int b), in test_binary_op_8()
77 if (is_true && !TEST_uint_eq(op(a, b), CONSTTIME_TRUE_8)) in test_binary_op_8()
79 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE_8)) in test_binary_op_8()
84 static int test_binary_op_s(size_t (*op) (size_t a, size_t b), in test_binary_op_s()
88 if (is_true && !TEST_size_t_eq(op(a, b), CONSTTIME_TRUE_S)) in test_binary_op_s()
90 if (!is_true && !TEST_uint_eq(op(a, b), CONSTTIME_FALSE_S)) in test_binary_op_s()
95 static int test_binary_op_64(uint64_t (*op)(uint64_t a, uint64_t b), in test_binary_op_64()
99 uint64_t c = op(a, b); in test_binary_op_64()