Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 37) sorted by relevance

12

/openssl/apps/
H A Docsp.c220 OCSP_RESPONSE *resp = NULL; in ocsp_main() local
666 resp = in ocsp_main()
727 if (resp == NULL) in ocsp_main()
735 if (resp == NULL) in ocsp_main()
748 if (resp == NULL) { in ocsp_main()
790 resp = NULL; in ocsp_main()
869 OCSP_RESPONSE_free(resp); in ocsp_main()
1046 *resp = in make_ocsp_response()
1248 resp = (OCSP_RESPONSE *) in process_responder()
1255 if (resp == NULL) in process_responder()
[all …]
H A Dts.c667 TS_RESP *resp = NULL; in read_PKCS7() local
674 if ((resp = TS_RESP_new()) == NULL) in read_PKCS7()
680 if (!TS_RESP_set_status_info(resp, si)) in read_PKCS7()
682 TS_RESP_set_tst_info(resp, token, tst_info); in read_PKCS7()
691 TS_RESP_free(resp); in read_PKCS7()
692 resp = NULL; in read_PKCS7()
695 return resp; in read_PKCS7()
H A Ds_server.c473 OCSP_RESPONSE **resp) in get_ocsp_resp_from_responder() argument
560 *resp = process_responder(req, host, port, path, proxy, no_proxy, in get_ocsp_resp_from_responder()
562 if (*resp == NULL) { in get_ocsp_resp_from_responder()
597 OCSP_RESPONSE *resp = NULL; in cert_status_cb() local
611 resp = d2i_OCSP_RESPONSE_bio(derbio, NULL); in cert_status_cb()
613 if (resp == NULL) { in cert_status_cb()
618 ret = get_ocsp_resp_from_responder(s, srctx, &resp); in cert_status_cb()
623 rspderlen = i2d_OCSP_RESPONSE(resp, &rspder); in cert_status_cb()
630 OCSP_RESPONSE_print(bio_err, resp, 2); in cert_status_cb()
639 OCSP_RESPONSE_free(resp); in cert_status_cb()
/openssl/fuzz/
H A Dx509.c46 OCSP_RESPONSE *resp = NULL; in FuzzerTestOneInput() local
78 resp = d2i_OCSP_RESPONSE(NULL, &p, len); in FuzzerTestOneInput()
110 if (resp != NULL) in FuzzerTestOneInput()
111 bs = OCSP_response_get1_basic(resp); in FuzzerTestOneInput()
142 OCSP_RESPONSE_free(resp); in FuzzerTestOneInput()
/openssl/doc/man3/
H A DOCSP_request_add1_nonce.pod12 int OCSP_basic_add1_nonce(OCSP_BASICRESP *resp, unsigned char *val, int len);
13 int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
14 int OCSP_check_nonce(OCSP_REQUEST *req, OCSP_BASICRESP *resp);
23 it adds a nonce to OCSP basic response B<resp>.
25 OCSP_check_nonce() compares the nonce value in B<req> and B<resp>.
27 OCSP_copy_nonce() copies any nonce value present in B<req> to B<resp>.
38 and B<resp>. The return value indicates the result of the comparison. If
H A DOCSP_response_status.pod15 int OCSP_response_status(OCSP_RESPONSE *resp);
16 OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp);
18 void OCSP_RESPONSE_free(OCSP_RESPONSE *resp);
36 OCSP_response_status() returns the OCSP response status of I<resp>. It returns
43 contained in I<resp>.
48 OCSP_RESPONSE_free() frees up OCSP response I<resp>.
H A DSSL_CTX_set_tlsext_status_cb.pod33 long SSL_get_tlsext_status_ocsp_resp(ssl, unsigned char **resp);
34 long SSL_set_tlsext_status_ocsp_resp(ssl, unsigned char *resp, int len);
67 SSL_get_tlsext_status_ocsp_resp(). The value B<*resp> will be updated to point
71 response data then B<*resp> will be NULL and the return value from
80 be provided in the B<resp> argument, and the length of that data should be in
H A DX509_cmp_time.pod61 is earlier than, or equal to, I<in_tm> (resp. current time), and 1
/openssl/crypto/ocsp/
H A Docsp_http.c53 OCSP_RESPONSE *resp = NULL; in OCSP_sendreq_bio() local
62 resp = (OCSP_RESPONSE *)ASN1_item_d2i_bio(ASN1_ITEM_rptr(OCSP_RESPONSE), in OCSP_sendreq_bio()
66 return resp; in OCSP_sendreq_bio()
H A Docsp_cl.c116 int OCSP_response_status(OCSP_RESPONSE *resp) in OCSP_response_status() argument
118 return ASN1_ENUMERATED_get(resp->responseStatus); in OCSP_response_status()
125 OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp) in OCSP_response_get1_basic() argument
127 OCSP_RESPBYTES *rb = resp->responseBytes; in OCSP_response_get1_basic()
H A Docsp_ext.c289 int OCSP_basic_add1_nonce(OCSP_BASICRESP *resp, unsigned char *val, int len) in OCSP_basic_add1_nonce() argument
291 return ocsp_add1_nonce(&resp->tbsResponseData.responseExtensions, val, in OCSP_basic_add1_nonce()
347 int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req) in OCSP_copy_nonce() argument
357 return OCSP_BASICRESP_add_ext(resp, req_ext, -1); in OCSP_copy_nonce()
H A Docsp_srv.c157 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert) in OCSP_basic_add1_cert() argument
159 return ossl_x509_add_cert_new(&resp->certs, cert, X509_ADD_FLAG_UP_REF); in OCSP_basic_add1_cert()
/openssl/crypto/http/
H A Dhttp_client.c1127 BIO *resp; in OSSL_HTTP_exchange() local
1138 if (resp == NULL) { in OSSL_HTTP_exchange()
1178 if (resp != NULL && !BIO_up_ref(resp)) in OSSL_HTTP_exchange()
1179 resp = NULL; in OSSL_HTTP_exchange()
1180 return resp; in OSSL_HTTP_exchange()
1213 BIO *resp = NULL; in OSSL_HTTP_get() local
1279 BIO_free(resp); in OSSL_HTTP_get()
1280 resp = NULL; in OSSL_HTTP_get()
1285 return resp; in OSSL_HTTP_get()
1301 BIO *resp = NULL; in OSSL_HTTP_transfer() local
[all …]
/openssl/test/recipes/
H A D82-test_ocsp_cert_chain.t129 my $resp = 0;
134 $resp = 1;
138 ok($resp == 1, "check s_server sent ocsp response");
/openssl/crypto/cmp/
H A Dcmp_client.c116 static int is_crep_with_waiting(const OSSL_CMP_MSG *resp, int rid) in is_crep_with_waiting() argument
120 int bt = OSSL_CMP_MSG_get_bodytype(resp); in is_crep_with_waiting()
125 crepmsg = resp->body->value.ip; /* same for cp and kup */ in is_crep_with_waiting()
652 OSSL_CMP_MSG **resp, int *checkAfter, in cert_response() argument
672 rcvd_type = OSSL_CMP_MSG_get_bodytype(*resp); in cert_response()
674 crepmsg = (*resp)->body->value.ip; /* same for cp and kup */ in cert_response()
693 si = (*resp)->body->value.error->pKIStatusInfo; in cert_response()
708 OSSL_CMP_MSG_free(*resp); in cert_response()
709 *resp = NULL; in cert_response()
731 cert = get1_cert_status(ctx, (*resp)->body->type, crep); in cert_response()
[all …]
H A Dcmp_msg.c480 OSSL_CMP_CERTRESPONSE *resp = NULL; in ossl_cmp_certrep_new() local
495 if ((resp = OSSL_CMP_CERTRESPONSE_new()) == NULL) in ossl_cmp_certrep_new()
497 OSSL_CMP_PKISI_free(resp->status); in ossl_cmp_certrep_new()
498 if ((resp->status = OSSL_CMP_PKISI_dup(si)) == NULL in ossl_cmp_certrep_new()
499 || !ASN1_INTEGER_set(resp->certReqId, certReqId)) in ossl_cmp_certrep_new()
502 status = ossl_cmp_pkisi_get_status(resp->status); in ossl_cmp_certrep_new()
510 if ((resp->certifiedKeyPair = OSSL_CMP_CERTIFIEDKEYPAIR_new()) in ossl_cmp_certrep_new()
513 resp->certifiedKeyPair->certOrEncCert->type = in ossl_cmp_certrep_new()
520 if (!sk_OSSL_CMP_CERTRESPONSE_push(repMsg->response, resp)) in ossl_cmp_certrep_new()
522 resp = NULL; in ossl_cmp_certrep_new()
[all …]
/openssl/demos/certs/
H A Docsprun.sh21 -rsigner resp.pem -rkey respkey.pem -rother intca.pem $*
H A Dmkcerts.sh48 -extfile ca.cnf -extensions ocsp_cert -CAcreateserial -out resp.pem
/openssl/apps/include/
H A Dhttp_server.h86 const ASN1_ITEM *it, const ASN1_VALUE *resp);
/openssl/test/helpers/
H A Dhandshake.c272 unsigned char *resp; in server_ocsp_cb() local
274 resp = OPENSSL_malloc(1); in server_ocsp_cb()
275 if (resp == NULL) in server_ocsp_cb()
280 *resp = *(unsigned char *)arg; in server_ocsp_cb()
281 if (!SSL_set_tlsext_status_ocsp_resp(s, resp, 1)) { in server_ocsp_cb()
282 OPENSSL_free(resp); in server_ocsp_cb()
291 const unsigned char *resp; in client_ocsp_cb() local
294 len = SSL_get_tlsext_status_ocsp_resp(s, &resp); in client_ocsp_cb()
295 if (len != 1 || *resp != dummy_ocsp_resp_good_val) in client_ocsp_cb()
/openssl/crypto/bn/
H A Dbn_div.c269 BN_ULONG *resp, *wnum, *wnumtop; in bn_div_fixed_top() local
333 resp = &(res->d[loop]); in bn_div_fixed_top()
443 *--resp = q; in bn_div_fixed_top()
/openssl/include/openssl/
H A Docsp.h.in211 int OCSP_basic_add1_nonce(OCSP_BASICRESP *resp, unsigned char *val, int len);
213 int OCSP_copy_nonce(OCSP_BASICRESP *resp, OCSP_REQUEST *req);
224 int OCSP_response_status(OCSP_RESPONSE *resp);
225 OCSP_BASICRESP *OCSP_response_get1_basic(OCSP_RESPONSE *resp);
280 int OCSP_basic_add1_cert(OCSP_BASICRESP *resp, X509 *cert);
/openssl/apps/lib/
H A Dhttp_server.c503 const ASN1_ITEM *it, const ASN1_VALUE *resp) in http_server_send_asn1_resp() argument
511 ASN1_item_i2d(resp, NULL, it)); in http_server_send_asn1_resp()
522 && ASN1_item_i2d_bio(it, cbio, resp) > 0; in http_server_send_asn1_resp()
/openssl/doc/HOWTO/
H A Ddocumenting-functions-and-macros.md7 enforced by the `make doc-nits` target resp. `check-docs` GitHub action.
128 to be exported from the shared library resp. DLL.
/openssl/doc/man7/
H A DEVP_RAND.pod259 (resp. reinstantiation) if the DRBG is instantiated
260 (resp. uninstantiated or in an error state).

Completed in 92 milliseconds

12