/test/ |
A D | testutil.h | 290 # define PRINTF_FORMAT(a, b) argument 300 # define PRINTF_FORMAT(a, b) __attribute__ ((format(printf, a, b))) argument 432 # define TEST_int_eq(a, b) test_int_eq(__FILE__, __LINE__, #a, #b, a, b) argument 433 # define TEST_int_ne(a, b) test_int_ne(__FILE__, __LINE__, #a, #b, a, b) argument 434 # define TEST_int_lt(a, b) test_int_lt(__FILE__, __LINE__, #a, #b, a, b) argument 527 # define TEST_BN_eq(a, b) test_BN_eq(__FILE__, __LINE__, #a, #b, a, b) argument 528 # define TEST_BN_ne(a, b) test_BN_ne(__FILE__, __LINE__, #a, #b, a, b) argument 529 # define TEST_BN_lt(a, b) test_BN_lt(__FILE__, __LINE__, #a, #b, a, b) argument 530 # define TEST_BN_gt(a, b) test_BN_gt(__FILE__, __LINE__, #a, #b, a, b) argument 531 # define TEST_BN_le(a, b) test_BN_le(__FILE__, __LINE__, #a, #b, a, b) argument [all …]
|
A D | constant_time_test.c | 61 static int test_binary_op(unsigned int (*op) (unsigned int a, unsigned int b), in test_binary_op() 73 char (*op) (unsigned int a, unsigned int b), 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() 95 static int test_binary_op_64(uint64_t (*op)(uint64_t a, uint64_t b), in test_binary_op_64() 210 static int test_select_int(int a, int b) in test_select_int() 219 static int test_eq_int_8(int a, int b) in test_eq_int_8() 228 static int test_eq_s(size_t a, size_t b) in test_eq_s() 237 static int test_eq_int(int a, int b) in test_eq_int() 260 unsigned int b = test_values[j]; in test_binops() local 287 unsigned int b = test_values_8[j]; in test_binops_8() local [all …]
|
A D | safe_math_test.c | 29 int a, b; member 58 const int a = test_ints[n].a, b = test_ints[n].b; in test_int_ops() local 129 unsigned int a, b; member 147 const unsigned int a = test_uints[n].a, b = test_uints[n].b; in test_uint_ops() local 211 size_t a, b; member 230 const size_t a = test_size_ts[n].a, b = test_size_ts[n].b; in test_size_t_ops() local 294 int a, b, c; member 318 const int b = test_muldiv_ints[n].b; in test_int_muldiv() local 333 unsigned int a, b, c; member 350 const unsigned int b = test_muldiv_uints[n].b; in test_uint_muldiv() local
|
A D | bntest.c | 241 BIGNUM *a = NULL, *b = NULL, *c = NULL; in test_sub() local 475 BIGNUM *b = NULL, *n = NULL, *c = NULL; in test_modexp_mont5() local 737 BIGNUM *a = NULL, *b = NULL, *c = NULL; in test_gf2m_add() local 1667 BIGNUM *b = NULL, *c = NULL, *d = NULL; in file_modexp() local 2475 BIGNUM *a = NULL, *b = NULL, *zero = NULL; in test_badmod() local 2720 BIGNUM *b[15]; in test_ctx_set_ct_flag() local 2740 BIGNUM *b[30]; in test_ctx_check_ct_flag() local 2804 BIGNUM *a = NULL, *b = NULL; in test_coprime() local 2823 BIGNUM *a = NULL, *b = NULL, *gcd = NULL; in test_gcd_prime() local 3180 BIGNUM *b = NULL; in test_mod_inverse() local [all …]
|
A D | pemtest.c | 35 BIO *b = BIO_new(BIO_s_mem()); in test_b64() local 65 BIO *b = BIO_new(BIO_s_mem()); in test_invalid() local 101 BIO *b; in test_empty_payload() local 130 BIO *b; in test_protected_params() local
|
A D | priority_queue_test.c | 27 static int size_t_compare(const size_t *a, const size_t *b) in size_t_compare() 36 static int qsort_size_t_compare(const void *a, const void *b) in qsort_size_t_compare() 41 static int qsort_size_t_compare_rev(const void *a, const void *b) in qsort_size_t_compare_rev() 167 static int cmp(const INFO *a, const INFO *b) in cmp()
|
A D | timing_load_creds.c | 27 # define timersub(a, b, res) \ argument 44 BIO *b = BIO_new_mem_buf(contents, size); in readx509() local 61 BIO *b = BIO_new_mem_buf(contents, size); in readpkey() local
|
A D | srptest.c | 36 BIGNUM *b = NULL; in run_srp() local 142 BIGNUM *b = NULL; in run_srp_kat() local
|
A D | crltest.c | 297 BIO *b = glue2bio(pem, &p); in CRL_from_strings() local 318 BIO *b = glue2bio(pem, &p); in X509_from_strings() local 514 BIO *b = NULL; in test_reuse_crl() local
|
A D | test_test.c | 314 BIGNUM *a = NULL, *b = NULL, *c = NULL; in test_bignum() local 404 BIGNUM *a = NULL, *b = NULL, *c = NULL, *d = NULL; in test_long_bignum() local 524 BIGNUM *b = NULL; in test_bn_output() local
|
A D | bio_callback_test.c | 27 static long my_bio_cb_ex(BIO *b, int oper, const char *argp, size_t len, in my_bio_cb_ex() 202 static long my_bio_callback(BIO *b, int oper, const char *argp, int argi, in my_bio_callback()
|
A D | quic_record_test_util.h | 13 static int cmp_pkt_hdr(const QUIC_PKT_HDR *a, const QUIC_PKT_HDR *b, in cmp_pkt_hdr()
|
A D | bio_dgram_test.c | 19 static int compare_addr(const BIO_ADDR *a, const BIO_ADDR *b) in compare_addr() 64 static int do_sendmmsg(BIO *b, BIO_MSG *msg, in do_sendmmsg() 82 static int do_recvmmsg(BIO *b, BIO_MSG *msg, in do_recvmmsg()
|
A D | ec_internal_test.c | 28 BIGNUM *a = NULL, *b = NULL, *c = NULL; in group_field_tests() local 80 BIGNUM *p = NULL, *a = NULL, *b = NULL; in field_tests() local 164 BIGNUM *p, *a, *b; in ec2m_field_sanity() local
|
A D | ectest.c | 162 BIGNUM *p = NULL, *a = NULL, *b = NULL, *scalar3 = NULL; in prime_field_tests() local 613 const char *b; member 783 BIGNUM *p = NULL, *a = NULL, *b = NULL; in char2_curve_test() local 937 BIGNUM *p = NULL, *a = NULL, *b = NULL; in char2_field_tests() local 1219 const char *p, *a, *b, *Qx, *Qy, *Gx, *Gy, *order, *d; member 1316 BIGNUM *p = NULL, *a = NULL, *b = NULL, *x = NULL, *y = NULL; in nistp_single_test() local 2070 BIGNUM *p, *a, *b; in ossl_parameter_test() local 2510 BIGNUM *p, *a, *b; in do_test_custom_explicit_fromdata() local 2819 BIGNUM *p = NULL, *a = NULL, *b = NULL; in custom_params_test() local
|
A D | bn_internal_test.c | 71 BIGNUM *b = NULL; in test_bn_small_factors() local
|
A D | params_api_test.c | 502 BIGNUM *b = NULL, *c = NULL; in test_param_bignum() local 537 BIGNUM *b = NULL, *c = NULL; in test_param_signed_bignum() local 806 int a, b; in test_param_modified() local 831 int a = 1, b = 2, i = 0; in test_param_copy_null() local
|
A D | endecode_test.c | 35 #define TEST_FL_mem_eq(a, m, b, n) test_mem_eq(file, line, #a, #b, a, m, b, n) argument 36 #define TEST_FL_strn_eq(a, b, n) test_strn_eq(file, line, #a, #b, a, n, b, n) argument 37 #define TEST_FL_strn2_eq(a, m, b, n) test_strn_eq(file, line, #a, #b, a, m, b, n) argument 38 #define TEST_FL_int_eq(a, b) test_int_eq(file, line, #a, #b, a, b) argument 39 #define TEST_FL_int_ge(a, b) test_int_ge(file, line, #a, #b, a, b) argument 40 #define TEST_FL_int_gt(a, b) test_int_gt(file, line, #a, #b, a, b) argument 41 #define TEST_FL_long_gt(a, b) test_long_gt(file, line, #a, #b, a, b) argument 1174 BIGNUM *a, *b, *prime, *order; in do_create_ec_explicit_prime_params() local 1272 BIGNUM *a, *b, *poly, *order, *cofactor; in do_create_ec_explicit_trinomial_params() local
|
A D | bio_addr_test.c | 81 static int bio_addr_is_eq(const BIO_ADDR *a, const BIO_ADDR *b) in bio_addr_is_eq()
|
A D | recordlentest.c | 27 static int write_record(BIO *b, size_t len, uint8_t rectype, int recversion) in write_record()
|
A D | exptest.c | 161 BIGNUM *b = NULL; in test_mod_exp() local
|
A D | bio_enc_test.c | 41 BIO *b, *mem; in do_bio_cipher() local
|
A D | dhtest.c | 46 DH *b = NULL; in dh_test() local 664 DH *a = NULL, *b = NULL; in rfc7919_test() local
|
/test/helpers/ |
A D | cmp_testlib.c | 38 X509 *a, *b; in STACK_OF_X509_cmp() local
|
/test/radix/ |
A D | quic_bindings.c | 143 static int RADIX_OBJ_cmp(const RADIX_OBJ *a, const RADIX_OBJ *b) in RADIX_OBJ_cmp() 685 #define REQUIRE_SSL_2(a, b) \ argument 691 #define REQUIRE_SSL_3(a, b, c) \ argument 698 #define REQUIRE_SSL_4(a, b, c, d) \ argument 706 #define REQUIRE_SSL_5(a, b, c, d, e) \ argument
|