Lines Matching refs:CMP_VFY_TEST_FIXTURE
38 } CMP_VFY_TEST_FIXTURE; typedef
43 static void tear_down(CMP_VFY_TEST_FIXTURE *fixture) in tear_down()
52 static CMP_VFY_TEST_FIXTURE *set_up(const char *const test_case_name) in set_up()
55 CMP_VFY_TEST_FIXTURE *fixture; in set_up()
100 static int execute_verify_popo_test(CMP_VFY_TEST_FIXTURE *fixture) in execute_verify_popo_test()
118 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_verify_popo()
127 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_verify_popo_bad()
135 static int execute_validate_msg_test(CMP_VFY_TEST_FIXTURE *fixture) in execute_validate_msg_test()
145 static int execute_validate_cert_path_test(CMP_VFY_TEST_FIXTURE *fixture) in execute_validate_cert_path_test()
158 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_mac_alg_protection()
196 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_mac_alg_protection_bad()
226 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_signature_partial_chain()
261 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_signature_srvcert()
303 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_signature_sender_cert_untrusted()
318 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_signature_sender_cert_trusted()
333 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_signature_sender_cert_extracert()
349 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_signature_sender_cert_absent()
363 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_with_sender()
389 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_msg_unprotected_request()
400 static void setup_path(CMP_VFY_TEST_FIXTURE **fixture, X509 *wrong, int expired) in setup_path()
420 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_cert_path_ok()
428 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_cert_path_wrong_anchor()
436 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_validate_cert_path_expired()
442 static int execute_msg_check_test(CMP_VFY_TEST_FIXTURE *fixture) in execute_msg_check_test()
471 static void setup_check_update(CMP_VFY_TEST_FIXTURE **fixture, int expected, in setup_check_update()
506 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_msg_check_no_protection_no_cb()
514 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_msg_check_no_protection_restrictive_cb()
523 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_msg_check_no_protection_permissive_cb()
537 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_msg_check_transaction_id()
546 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_msg_check_transaction_id_bad()
561 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_msg_check_recipient_nonce()
570 SETUP_TEST_FIXTURE(CMP_VFY_TEST_FIXTURE, set_up); in test_msg_check_recipient_nonce_bad()