Lines Matching refs:h
7 * (see tests/include/test/constant_flow.h) so that running the tests
11 #include <stdio.h>
13 #include <limits.h>
14 #include <stdlib.h>
15 #include <errno.h>
17 #include <mbedtls/bignum.h>
18 #include <mbedtls/constant_time.h>
19 #include <constant_time_internal.h>
21 #include <test/constant_flow.h>
97 unsigned char l = li, h = hi, t = ti;
100 unsigned char expected = (x >= l) && (x <= h) ? t : 0;
104 TEST_CF_SECRET(&h, sizeof(h));
107 TEST_EQUAL(mbedtls_ct_uchar_in_range_if(l, h, (unsigned char) x, t), expected);
111 TEST_CF_PUBLIC(&h, sizeof(h));