Lines Matching refs:cmp_ctx

20     OSSL_CMP_CTX *cmp_ctx;  member
41 OSSL_CMP_CTX_free(fixture->cmp_ctx); in tear_down()
60 if (!TEST_ptr(fixture->cmp_ctx = OSSL_CMP_CTX_new(libctx, NULL))) { in set_up()
79 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_fails_test()
89 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_pbmac_test()
133 ossl_cmp_calc_protection(fixture->cmp_ctx, fixture->msg); in execute_calc_protection_signature_test()
139 fixture->cmp_ctx->digest))); in execute_calc_protection_signature_test()
163 if (!TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, loadedprivkey)) in test_cmp_calc_protection_pkey()
177 if (!TEST_true(OSSL_CMP_CTX_set1_secretValue(fixture->cmp_ctx, in test_cmp_calc_protection_pbmac()
189 ossl_cmp_msg_protect(fixture->cmp_ctx, fixture->msg)); in execute_MSG_protect_test()
200 || !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 1))) { in test_MSG_protect_unprotected_request()
216 || !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0)) in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
221 || !TEST_true(OSSL_CMP_CTX_set1_referenceValue(fixture->cmp_ctx, in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
223 || !TEST_true(OSSL_CMP_CTX_set1_secretValue(fixture->cmp_ctx, in test_MSG_protect_with_msg_sig_alg_protection_plus_rsa_key()
240 || !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0)) in test_MSG_protect_with_certificate_and_key()
241 || !TEST_true(OSSL_CMP_CTX_set1_pkey(fixture->cmp_ctx, loadedkey)) in test_MSG_protect_with_certificate_and_key()
242 || !TEST_true(OSSL_CMP_CTX_set1_cert(fixture->cmp_ctx, cert))) { in test_MSG_protect_with_certificate_and_key()
255 ctx = fixture->cmp_ctx; in test_MSG_protect_certificate_based_without_cert()
274 || !TEST_true(SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0))) { in test_MSG_protect_no_key_no_secret()
290 || !SET_OPT_UNPROTECTED_SEND(fixture->cmp_ctx, 0) in test_MSG_protect_pbmac_no_sender()
292 || !OSSL_CMP_CTX_set1_secretValue(fixture->cmp_ctx, in test_MSG_protect_pbmac_no_sender()
294 || (!OSSL_CMP_CTX_set1_referenceValue(fixture->cmp_ctx, in test_MSG_protect_pbmac_no_sender()
316 return TEST_true(ossl_cmp_msg_add_extraCerts(fixture->cmp_ctx, in execute_MSG_add_extraCerts_test()
336 OSSL_CMP_CTX *ctx = fixture->cmp_ctx; in execute_cmp_build_cert_chain_test()