Lines Matching refs:msg
34 OSSL_CMP_MSG *msg; member
45 OSSL_CMP_MSG_free(fixture->msg); in tear_down()
102 if ((fixture->msg = load_pkimsg(ir_protected_f, libctx)) == NULL) in execute_verify_popo_test()
105 const OSSL_CRMF_MSGS *reqs = fixture->msg->body->value.ir; in execute_verify_popo_test()
112 ossl_cmp_verify_popo(fixture->cmp_ctx, fixture->msg, in execute_verify_popo_test()
139 fixture->msg, NULL, 0)); in execute_validate_msg_test()
165 || !TEST_ptr(fixture->msg = load_pkimsg(ip_waiting_f, libctx))) { in test_validate_msg_mac_alg_protection()
202 || !TEST_ptr(fixture->msg = load_pkimsg(ip_waiting_f, libctx))) { in test_validate_msg_mac_alg_protection_bad()
232 || !TEST_ptr(fixture->msg = load_pkimsg(ir_protected_f, libctx)) in test_validate_msg_signature_partial_chain()
264 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_protected_f, libctx)) in test_validate_msg_signature_srvcert()
269 || (bad_sig && !flip_bit(fixture->msg->protection))) { in test_validate_msg_signature_srvcert()
306 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_protected_0_extracerts, libctx)) in test_validate_msg_signature_sender_cert_untrusted()
321 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_protected_0_extracerts, libctx)) in test_validate_msg_signature_sender_cert_trusted()
335 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_protected_2_extracerts, libctx)) in test_validate_msg_signature_sender_cert_extracert()
340 fixture->cert = sk_X509_value(fixture->msg->extraCerts, 1); /* Insta CA */ in test_validate_msg_signature_sender_cert_extracert()
351 if (!TEST_ptr(fixture->msg = in test_validate_msg_signature_sender_cert_absent()
366 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_protected_f, libctx)) in test_validate_with_sender()
391 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_unprotected_f, libctx))) { in test_validate_msg_unprotected_request()
444 const OSSL_CMP_PKIHEADER *hdr = OSSL_CMP_MSG_get0_header(fixture->msg); in execute_msg_check_test()
449 fixture->msg, in execute_msg_check_test()
465 static int allow_unprotected(const OSSL_CMP_CTX *ctx, const OSSL_CMP_MSG *msg, in allow_unprotected() argument
482 (*fixture)->msg = OSSL_CMP_MSG_dup(ir_rmprotection); in setup_check_update()
483 if ((*fixture)->msg == NULL in setup_check_update()