Lines Matching refs:rid
254 static int poll_for_response(OSSL_CMP_CTX *ctx, int sleep, int rid, in poll_for_response() argument
264 if ((preq = ossl_cmp_pollReq_new(ctx, rid)) == NULL) in poll_for_response()
282 pollRep = ossl_cmp_pollrepcontent_get0_pollrep(prc, rid); in poll_for_response()
529 static int cert_response(OSSL_CMP_CTX *ctx, int sleep, int rid, in cert_response() argument
552 crep = ossl_cmp_certrepmessage_get0_certresponse(crepmsg, rid); in cert_response()
557 if (rid == -1) { in cert_response()
559 rid = ossl_cmp_asn1_get_int(crep->certReqId); in cert_response()
560 if (rid == -1) { in cert_response()
569 if ((ret = poll_for_response(ctx, sleep, rid, resp, checkAfter)) != 0) { in cert_response()
667 int rid = is_p10 ? -1 : OSSL_CMP_CERTREQID; in OSSL_CMP_try_certreq() local
684 res = poll_for_response(ctx, 0 /* no sleep */, rid, &rep, checkAfter); in OSSL_CMP_try_certreq()
688 res = cert_response(ctx, 0 /* no sleep */, rid, &rep, checkAfter, in OSSL_CMP_try_certreq()
709 int rid = is_p10 ? -1 : OSSL_CMP_CERTREQID; in OSSL_CMP_exec_certreq() local
721 if (cert_response(ctx, 1 /* sleep */, rid, &rep, NULL, req_type, rep_type) in OSSL_CMP_exec_certreq()