Lines Matching refs:msg

23     OSSL_CMP_MSG *msg;  member
43 OSSL_CMP_MSG_free(fixture->msg); in tear_down()
83 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_fails_test()
93 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_pbmac_test()
96 fixture->msg->protection) == 0); in execute_calc_protection_pbmac_test()
106 static int verify_signature(OSSL_CMP_MSG *msg, in verify_signature() argument
112 prot_part.header = OSSL_CMP_MSG_get0_header(msg); in verify_signature()
113 prot_part.body = msg->body; in verify_signature()
115 msg->header->protectionAlg, protection, in verify_signature()
124 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_signature_test()
126 && TEST_true(verify_signature(fixture->msg, protection, in execute_calc_protection_signature_test()
137 if (!TEST_ptr(fixture->msg = load_pkimsg(ir_unprotected_f, libctx)) in test_cmp_calc_protection_no_key_no_secret()
138 || !TEST_ptr(fixture->msg->header->protectionAlg = in test_cmp_calc_protection_no_key_no_secret()
153 || !TEST_ptr(fixture->msg = load_pkimsg(ir_protected_f, libctx))) { in test_cmp_calc_protection_pkey()
167 || !TEST_ptr(fixture->msg = load_pkimsg(genm_prot_Ed_f, libctx))) { in test_cmp_calc_protection_pkey_Ed()
183 || !TEST_ptr(fixture->msg = load_pkimsg(ip_PBM_f, libctx))) { in test_cmp_calc_protection_pbmac()
193 ossl_cmp_msg_protect(fixture->cmp_ctx, fixture->msg)); in execute_MSG_protect_test()
203 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected)) in test_MSG_protect_unprotected_request()
219 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected)) in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
242 if (!TEST_ptr(fixture->msg = in test_MSG_protect_with_certificate_and_key()
262 if (!TEST_ptr(fixture->msg = in test_MSG_protect_certificate_based_without_cert()
278 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected)) in test_MSG_protect_no_key_no_secret()
294 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_unprotected)) in test_MSG_protect_pbmac_no_sender()
296 || !ossl_cmp_hdr_set1_sender(fixture->msg->header, NULL) in test_MSG_protect_pbmac_no_sender()
322 fixture->msg)); in execute_MSG_add_extraCerts_test()
328 if (!TEST_ptr(fixture->msg = OSSL_CMP_MSG_dup(ir_protected))) { in test_MSG_add_extraCerts()