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
662 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.c476 OCSP_RESPONSE **resp) in get_ocsp_resp_from_responder() argument
563 *resp = process_responder(req, host, port, path, proxy, no_proxy, in get_ocsp_resp_from_responder()
565 if (*resp == NULL) { in get_ocsp_resp_from_responder()
600 OCSP_RESPONSE *resp = NULL; in cert_status_cb() local
614 resp = d2i_OCSP_RESPONSE_bio(derbio, NULL); in cert_status_cb()
616 if (resp == NULL) { in cert_status_cb()
621 ret = get_ocsp_resp_from_responder(s, srctx, &resp); in cert_status_cb()
626 rspderlen = i2d_OCSP_RESPONSE(resp, &rspder); in cert_status_cb()
633 OCSP_RESPONSE_print(bio_err, resp, 2); in cert_status_cb()
642 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.c1138 BIO *resp; in OSSL_HTTP_exchange() local
1149 if (resp == NULL) { in OSSL_HTTP_exchange()
1189 if (resp != NULL && !BIO_up_ref(resp)) in OSSL_HTTP_exchange()
1190 resp = NULL; in OSSL_HTTP_exchange()
1191 return resp; in OSSL_HTTP_exchange()
1224 BIO *resp = NULL; in OSSL_HTTP_get() local
1290 BIO_free(resp); in OSSL_HTTP_get()
1291 resp = NULL; in OSSL_HTTP_get()
1296 return resp; in OSSL_HTTP_get()
1312 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.c119 static int is_crep_with_waiting(const OSSL_CMP_MSG *resp, int rid) in is_crep_with_waiting() argument
123 int bt = OSSL_CMP_MSG_get_bodytype(resp); in is_crep_with_waiting()
128 crepmsg = resp->body->value.ip; /* same for cp and kup */ in is_crep_with_waiting()
655 OSSL_CMP_MSG **resp, int *checkAfter, in cert_response() argument
675 rcvd_type = OSSL_CMP_MSG_get_bodytype(*resp); in cert_response()
677 crepmsg = (*resp)->body->value.ip; /* same for cp and kup */ in cert_response()
696 si = (*resp)->body->value.error->pKIStatusInfo; in cert_response()
711 OSSL_CMP_MSG_free(*resp); in cert_response()
712 *resp = NULL; in cert_response()
734 cert = get1_cert_status(ctx, (*resp)->body->type, crep); in cert_response()
[all …]
H A Dcmp_msg.c452 OSSL_CMP_CERTRESPONSE *resp = NULL; in ossl_cmp_certrep_new() local
467 if ((resp = OSSL_CMP_CERTRESPONSE_new()) == NULL) in ossl_cmp_certrep_new()
469 OSSL_CMP_PKISI_free(resp->status); in ossl_cmp_certrep_new()
470 if ((resp->status = OSSL_CMP_PKISI_dup(si)) == NULL in ossl_cmp_certrep_new()
471 || !ASN1_INTEGER_set(resp->certReqId, certReqId)) in ossl_cmp_certrep_new()
474 status = ossl_cmp_pkisi_get_status(resp->status); in ossl_cmp_certrep_new()
482 if ((resp->certifiedKeyPair = OSSL_CMP_CERTIFIEDKEYPAIR_new()) in ossl_cmp_certrep_new()
485 resp->certifiedKeyPair->certOrEncCert->type = in ossl_cmp_certrep_new()
492 if (!sk_OSSL_CMP_CERTRESPONSE_push(repMsg->response, resp)) in ossl_cmp_certrep_new()
494 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.c506 const ASN1_ITEM *it, const ASN1_VALUE *resp) in http_server_send_asn1_resp() argument
514 ASN1_item_i2d(resp, NULL, it)); in http_server_send_asn1_resp()
525 && 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.pod265 (resp. reinstantiation) if the DRBG is instantiated
266 (resp. uninstantiated or in an error state).

Completed in 56 milliseconds

12