Lines Matching defs:rep
33 const OSSL_CMP_MSG *rep,
37 int rcvd_type = OSSL_CMP_MSG_get_bodytype(rep /* may be NULL */);
40 if (!ossl_assert(ctx != NULL && rep != NULL))
53 ossl_cmp_revrepcontent_get_pkisi(rep->body->value.rp,
68 OSSL_CMP_CERTREPMESSAGE *crepmsg = rep->body->value.ip;
122 * Returns 1 on success and provides the received PKIMESSAGE in *rep.
124 * Regardless of success, caller is responsible for freeing *rep (unless NULL).
127 OSSL_CMP_MSG **rep, int expected_type)
143 *rep = NULL;
167 *rep = (*transfer_cb)(ctx, req);
170 if (*rep == NULL) {
179 bt = OSSL_CMP_MSG_get_bodytype(*rep);
189 && !ossl_cmp_ctx_set1_extraCertsIn(ctx, (*rep)->extraCerts))
192 if (!ossl_cmp_msg_check_update(ctx, *rep, unprotected_exception,
209 OSSL_CMP_ERRORMSGCONTENT *emc = (*rep)->body->value.error;
249 * Returns 1 on success and provides the received PKIMESSAGE in *rep.
250 * In this case the caller is responsible for freeing *rep.
254 OSSL_CMP_MSG **rep, int *checkAfter)
261 *rep = NULL;
350 *rep = prep;
694 OSSL_CMP_MSG *rep = NULL;
706 if (!initial_certreq(ctx, req_type, crm, &rep, rep_type))
713 res = poll_for_response(ctx, 0 /* no sleep */, rid, &rep, checkAfter);
717 res = cert_response(ctx, 0 /* no sleep */, rid, &rep, checkAfter,
721 OSSL_CMP_MSG_free(rep);
736 OSSL_CMP_MSG *rep = NULL;
747 if (!initial_certreq(ctx, req_type, crm, &rep, rep_type))
750 if (cert_response(ctx, 1 /* sleep */, rid, &rep, NULL, req_type, rep_type)
756 OSSL_CMP_MSG_free(rep);