Lines Matching defs:line

29 /* Extended test macros to allow passing file & line number */
30 #define TEST_FL_ptr(a) test_ptr(file, line, #a, a)
31 #define TEST_FL_mem_eq(a, m, b, n) test_mem_eq(file, line, #a, #b, a, m, b, n)
32 #define TEST_FL_strn_eq(a, b, n) test_strn_eq(file, line, #a, #b, a, n, b, n)
33 #define TEST_FL_strn2_eq(a, m, b, n) test_strn_eq(file, line, #a, #b, a, m, b, n)
34 #define TEST_FL_int_eq(a, b) test_int_eq(file, line, #a, #b, a, b)
35 #define TEST_FL_int_ge(a, b) test_int_ge(file, line, #a, #b, a, b)
36 #define TEST_FL_int_gt(a, b) test_int_gt(file, line, #a, #b, a, b)
37 #define TEST_FL_long_gt(a, b) test_long_gt(file, line, #a, #b, a, b)
38 #define TEST_FL_true(a) test_true(file, line, #a, (a) != 0)
130 typedef int (encoder)(const char *file, const int line,
135 typedef int (decoder)(const char *file, const int line,
139 typedef int (tester)(const char *file, const int line,
142 typedef int (checker)(const char *file, const int line,
149 static int test_encode_decode(const char *file, const int line,
170 if (!TEST_true(encode_cb(file, line, &encoded, &encoded_len, pkey, selection,
175 if (TEST_false(decode_cb(file, line, (void **)&pkey2, encoded,
183 if (!TEST_true(check_cb(file, line, type, encoded, encoded_len))
184 || !TEST_true(decode_cb(file, line, (void **)&pkey2, encoded, encoded_len,
188 || !TEST_true(encode_cb(file, line, &encoded2, &encoded2_len, pkey2, selection,
206 && !test_cb(file, line, encoded, encoded_len, encoded2, encoded2_len))
226 static int encode_EVP_PKEY_prov(const char *file, const int line,
267 static int decode_EVP_PKEY_prov(const char *file, const int line,
342 static int encode_EVP_PKEY_legacy_PEM(const char *file, const int line,
382 static int encode_EVP_PKEY_MSBLOB(const char *file, const int line,
427 static int encode_EVP_PKEY_PVK(const char *file, const int line,
460 static int test_text(const char *file, const int line,
467 static int test_mem(const char *file, const int line,
509 static int check_unprotected_PKCS8_DER(const char *file, const int line,
548 static int check_unprotected_PKCS8_PEM(const char *file, const int line,
571 static int check_params_DER(const char *file, const int line,
597 static int check_params_PEM(const char *file, const int line,
629 static int check_unprotected_legacy_PEM(const char *file, const int line,
656 static int check_MSBLOB(const char *file, const int line,
678 static int check_PVK(const char *file, const int line,
702 static int check_protected_PKCS8_DER(const char *file, const int line,
726 static int check_protected_PKCS8_PEM(const char *file, const int line,
749 static int check_protected_legacy_PEM(const char *file, const int line,
796 static int check_public_DER(const char *file, const int line,
818 static int check_public_PEM(const char *file, const int line,
840 static int check_public_MSBLOB(const char *file, const int line,