/third_party/openssl/crypto/cmp/ |
D | cmp_server.c | 42 void OSSL_CMP_SRV_CTX_free(OSSL_CMP_SRV_CTX *srv_ctx) in OSSL_CMP_SRV_CTX_free() argument 44 if (srv_ctx == NULL) in OSSL_CMP_SRV_CTX_free() 47 OSSL_CMP_CTX_free(srv_ctx->ctx); in OSSL_CMP_SRV_CTX_free() 48 OPENSSL_free(srv_ctx); in OSSL_CMP_SRV_CTX_free() 68 int OSSL_CMP_SRV_CTX_init(OSSL_CMP_SRV_CTX *srv_ctx, void *custom_ctx, in OSSL_CMP_SRV_CTX_init() argument 76 if (srv_ctx == NULL) { in OSSL_CMP_SRV_CTX_init() 80 srv_ctx->custom_ctx = custom_ctx; in OSSL_CMP_SRV_CTX_init() 81 srv_ctx->process_cert_request = process_cert_request; in OSSL_CMP_SRV_CTX_init() 82 srv_ctx->process_rr = process_rr; in OSSL_CMP_SRV_CTX_init() 83 srv_ctx->process_genm = process_genm; in OSSL_CMP_SRV_CTX_init() [all …]
|
/third_party/openssl/apps/lib/ |
D | cmp_mock_srv.c | 66 int ossl_cmp_mock_srv_set1_certOut(OSSL_CMP_SRV_CTX *srv_ctx, X509 *cert) in ossl_cmp_mock_srv_set1_certOut() argument 68 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_certOut() 82 int ossl_cmp_mock_srv_set1_chainOut(OSSL_CMP_SRV_CTX *srv_ctx, in ossl_cmp_mock_srv_set1_chainOut() argument 85 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_chainOut() 99 int ossl_cmp_mock_srv_set1_caPubsOut(OSSL_CMP_SRV_CTX *srv_ctx, in ossl_cmp_mock_srv_set1_caPubsOut() argument 102 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set1_caPubsOut() 116 int ossl_cmp_mock_srv_set_statusInfo(OSSL_CMP_SRV_CTX *srv_ctx, int status, in ossl_cmp_mock_srv_set_statusInfo() argument 119 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_statusInfo() 133 int ossl_cmp_mock_srv_set_send_error(OSSL_CMP_SRV_CTX *srv_ctx, int val) in ossl_cmp_mock_srv_set_send_error() argument 135 mock_srv_ctx *ctx = OSSL_CMP_SRV_CTX_get0_custom_ctx(srv_ctx); in ossl_cmp_mock_srv_set_send_error() [all …]
|
/third_party/mesa3d/src/imagination/vulkan/winsys/pvrsrvkm/ |
D | pvr_srv_job_compute.c | 80 struct pvr_srv_winsys_compute_ctx *srv_ctx; in pvr_srv_winsys_compute_ctx_create() local 83 srv_ctx = vk_alloc(srv_ws->alloc, in pvr_srv_winsys_compute_ctx_create() 84 sizeof(*srv_ctx), in pvr_srv_winsys_compute_ctx_create() 87 if (!srv_ctx) in pvr_srv_winsys_compute_ctx_create() 90 result = pvr_srv_create_timeline(srv_ws->render_fd, &srv_ctx->timeline); in pvr_srv_winsys_compute_ctx_create() 109 &srv_ctx->handle); in pvr_srv_winsys_compute_ctx_create() 113 srv_ctx->base.ws = ws; in pvr_srv_winsys_compute_ctx_create() 115 *ctx_out = &srv_ctx->base; in pvr_srv_winsys_compute_ctx_create() 120 close(srv_ctx->timeline); in pvr_srv_winsys_compute_ctx_create() 123 vk_free(srv_ws->alloc, srv_ctx); in pvr_srv_winsys_compute_ctx_create() [all …]
|
D | pvr_srv_job_transfer.c | 65 struct pvr_srv_winsys_transfer_ctx *srv_ctx; in pvr_srv_winsys_transfer_ctx_create() local 78 srv_ctx = vk_alloc(srv_ws->alloc, in pvr_srv_winsys_transfer_ctx_create() 79 sizeof(*srv_ctx), in pvr_srv_winsys_transfer_ctx_create() 82 if (!srv_ctx) in pvr_srv_winsys_transfer_ctx_create() 85 result = pvr_srv_create_timeline(srv_ws->render_fd, &srv_ctx->timeline_3d); in pvr_srv_winsys_transfer_ctx_create() 103 &srv_ctx->handle); in pvr_srv_winsys_transfer_ctx_create() 107 srv_ctx->base.ws = ws; in pvr_srv_winsys_transfer_ctx_create() 108 *ctx_out = &srv_ctx->base; in pvr_srv_winsys_transfer_ctx_create() 113 close(srv_ctx->timeline_3d); in pvr_srv_winsys_transfer_ctx_create() 116 vk_free(srv_ws->alloc, srv_ctx); in pvr_srv_winsys_transfer_ctx_create() [all …]
|
D | pvr_srv_job_render.c | 332 struct pvr_srv_winsys_render_ctx *srv_ctx; in pvr_srv_winsys_render_ctx_create() local 336 srv_ctx = vk_zalloc(srv_ws->alloc, in pvr_srv_winsys_render_ctx_create() 337 sizeof(*srv_ctx), in pvr_srv_winsys_render_ctx_create() 340 if (!srv_ctx) in pvr_srv_winsys_render_ctx_create() 343 result = pvr_srv_create_timeline(srv_ws->render_fd, &srv_ctx->timeline_geom); in pvr_srv_winsys_render_ctx_create() 347 result = pvr_srv_create_timeline(srv_ws->render_fd, &srv_ctx->timeline_frag); in pvr_srv_winsys_render_ctx_create() 371 &srv_ctx->handle); in pvr_srv_winsys_render_ctx_create() 375 srv_ctx->base.ws = ws; in pvr_srv_winsys_render_ctx_create() 377 *ctx_out = &srv_ctx->base; in pvr_srv_winsys_render_ctx_create() 382 close(srv_ctx->timeline_frag); in pvr_srv_winsys_render_ctx_create() [all …]
|
/third_party/openssl/apps/include/ |
D | cmp_mock_srv.h | 21 void ossl_cmp_mock_srv_free(OSSL_CMP_SRV_CTX *srv_ctx); 23 int ossl_cmp_mock_srv_set1_certOut(OSSL_CMP_SRV_CTX *srv_ctx, X509 *cert); 24 int ossl_cmp_mock_srv_set1_chainOut(OSSL_CMP_SRV_CTX *srv_ctx, 26 int ossl_cmp_mock_srv_set1_caPubsOut(OSSL_CMP_SRV_CTX *srv_ctx, 28 int ossl_cmp_mock_srv_set_statusInfo(OSSL_CMP_SRV_CTX *srv_ctx, int status, 30 int ossl_cmp_mock_srv_set_send_error(OSSL_CMP_SRV_CTX *srv_ctx, int val); 31 int ossl_cmp_mock_srv_set_pollCount(OSSL_CMP_SRV_CTX *srv_ctx, int count); 32 int ossl_cmp_mock_srv_set_checkAfterTime(OSSL_CMP_SRV_CTX *srv_ctx, int sec);
|
/third_party/openssl/doc/man3/ |
D | OSSL_CMP_SRV_CTX_new.pod | 28 OSSL_CMP_MSG *OSSL_CMP_SRV_process_request(OSSL_CMP_SRV_CTX *srv_ctx, 33 void OSSL_CMP_SRV_CTX_free(OSSL_CMP_SRV_CTX *srv_ctx); 36 OSSL_CMP_SRV_CTX *srv_ctx, 44 typedef OSSL_CMP_PKISI *(*OSSL_CMP_SRV_rr_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 48 typedef int (*OSSL_CMP_SRV_genm_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 52 typedef void (*OSSL_CMP_SRV_error_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 57 typedef int (*OSSL_CMP_SRV_certConf_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 62 typedef int (*OSSL_CMP_SRV_pollReq_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 67 int OSSL_CMP_SRV_CTX_init(OSSL_CMP_SRV_CTX *srv_ctx, void *custom_ctx, 75 OSSL_CMP_CTX *OSSL_CMP_SRV_CTX_get0_cmp_ctx(const OSSL_CMP_SRV_CTX *srv_ctx); [all …]
|
/third_party/openssl/fuzz/ |
D | cmp.c | 102 static OSSL_CMP_PKISI *process_cert_request(OSSL_CMP_SRV_CTX *srv_ctx, in process_cert_request() argument 115 static OSSL_CMP_PKISI *process_rr(OSSL_CMP_SRV_CTX *srv_ctx, in process_rr() argument 124 static int process_genm(OSSL_CMP_SRV_CTX *srv_ctx, in process_genm() argument 133 static void process_error(OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *error, in process_error() argument 141 static int process_certConf(OSSL_CMP_SRV_CTX *srv_ctx, in process_certConf() argument 150 static int process_pollReq(OSSL_CMP_SRV_CTX *srv_ctx, in process_pollReq() argument 171 OSSL_CMP_SRV_CTX *srv_ctx = OSSL_CMP_SRV_CTX_new(NULL, NULL); in FuzzerTestOneInput() local 181 if (srv_ctx != NULL in FuzzerTestOneInput() 182 && OSSL_CMP_CTX_set_log_cb(OSSL_CMP_SRV_CTX_get0_cmp_ctx(srv_ctx), in FuzzerTestOneInput() 184 && OSSL_CMP_SRV_CTX_init(srv_ctx, NULL, process_cert_request, in FuzzerTestOneInput() [all …]
|
/third_party/openssl/test/ |
D | cmp_client_test.c | 27 OSSL_CMP_SRV_CTX *srv_ctx; member 51 ossl_cmp_mock_srv_free(fixture->srv_ctx); in tear_down() 65 if (!TEST_ptr(fixture->srv_ctx = ossl_cmp_mock_srv_new(libctx, NULL)) in set_up() 66 || !OSSL_CMP_SRV_CTX_set_accept_unprotected(fixture->srv_ctx, 1) in set_up() 67 || !ossl_cmp_mock_srv_set1_certOut(fixture->srv_ctx, client_cert) in set_up() 69 OSSL_CMP_SRV_CTX_get0_cmp_ctx(fixture->srv_ctx)) == NULL in set_up() 76 || !OSSL_CMP_CTX_set_transfer_cb_arg(ctx, fixture->srv_ctx) in set_up() 138 ossl_cmp_mock_srv_set_statusInfo(fixture->srv_ctx, in test_exec_RR_ses_receive_error() 142 ossl_cmp_mock_srv_set_send_error(fixture->srv_ctx, 1); in test_exec_RR_ses_receive_error() 156 ossl_cmp_mock_srv_set1_caPubsOut(fixture->srv_ctx, fixture->caPubs); in test_exec_IR_ses() [all …]
|
D | cmp_server_test.c | 17 OSSL_CMP_SRV_CTX *srv_ctx; member 27 OSSL_CMP_SRV_CTX_free(fixture->srv_ctx); in tear_down() 38 if (!TEST_ptr(fixture->srv_ctx = OSSL_CMP_SRV_CTX_new(libctx, NULL))) in set_up() 49 static OSSL_CMP_PKISI *process_cert_request(OSSL_CMP_SRV_CTX *srv_ctx, in process_cert_request() argument 64 OSSL_CMP_SRV_CTX *ctx = fixture->srv_ctx; in execute_test_handle_request()
|
/third_party/openssl/doc/internal/man3/ |
D | ossl_cmp_mock_srv_new.pod | 21 void ossl_cmp_mock_srv_free(OSSL_CMP_SRV_CTX *srv_ctx); 23 int ossl_cmp_mock_srv_set1_certOut(OSSL_CMP_SRV_CTX *srv_ctx, X509 *cert); 24 int ossl_cmp_mock_srv_set1_chainOut(OSSL_CMP_SRV_CTX *srv_ctx, 26 int ossl_cmp_mock_srv_set1_caPubsOut(OSSL_CMP_SRV_CTX *srv_ctx, 28 int ossl_cmp_mock_srv_set_statusInfo(OSSL_CMP_SRV_CTX *srv_ctx, int status, 30 int ossl_cmp_mock_srv_set_send_error(OSSL_CMP_SRV_CTX *srv_ctx, int val); 31 int ossl_cmp_mock_srv_set_pollCount(OSSL_CMP_SRV_CTX *srv_ctx, int count); 32 int ossl_cmp_mock_srv_set_checkAfterTime(OSSL_CMP_SRV_CTX *srv_ctx, int sec);
|
/third_party/openssl/include/openssl/ |
D | cmp.h.in | 401 OSSL_CMP_MSG *OSSL_CMP_SRV_process_request(OSSL_CMP_SRV_CTX *srv_ctx, 406 void OSSL_CMP_SRV_CTX_free(OSSL_CMP_SRV_CTX *srv_ctx); 408 (OSSL_CMP_SRV_CTX *srv_ctx, const OSSL_CMP_MSG *req, int certReqId, 411 typedef OSSL_CMP_PKISI *(*OSSL_CMP_SRV_rr_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 415 typedef int (*OSSL_CMP_SRV_genm_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 419 typedef void (*OSSL_CMP_SRV_error_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 424 typedef int (*OSSL_CMP_SRV_certConf_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 429 typedef int (*OSSL_CMP_SRV_pollReq_cb_t)(OSSL_CMP_SRV_CTX *srv_ctx, 433 int OSSL_CMP_SRV_CTX_init(OSSL_CMP_SRV_CTX *srv_ctx, void *custom_ctx, 440 OSSL_CMP_CTX *OSSL_CMP_SRV_CTX_get0_cmp_ctx(const OSSL_CMP_SRV_CTX *srv_ctx); [all …]
|
/third_party/openssl/apps/ |
D | cmp.c | 995 OSSL_CMP_SRV_CTX *srv_ctx = ossl_cmp_mock_srv_new(app_get0_libctx(), in setup_srv_ctx() local 998 if (srv_ctx == NULL) in setup_srv_ctx() 1000 ctx = OSSL_CMP_SRV_CTX_get0_cmp_ctx(srv_ctx); in setup_srv_ctx() 1086 if (!ossl_cmp_mock_srv_set1_certOut(srv_ctx, cert)) { in setup_srv_ctx() 1093 "CMP extra certificates for mock server", srv_ctx, in setup_srv_ctx() 1096 if (!setup_certs(opt_rsp_capubs, "caPubs for mock server", srv_ctx, in setup_srv_ctx() 1099 (void)ossl_cmp_mock_srv_set_pollCount(srv_ctx, opt_poll_count); in setup_srv_ctx() 1100 (void)ossl_cmp_mock_srv_set_checkAfterTime(srv_ctx, opt_check_after); in setup_srv_ctx() 1102 (void)OSSL_CMP_SRV_CTX_set_grant_implicit_confirm(srv_ctx, 1); in setup_srv_ctx() 1119 if (!ossl_cmp_mock_srv_set_statusInfo(srv_ctx, opt_pkistatus, in setup_srv_ctx() [all …]
|
/third_party/python/Lib/test/test_asyncio/ |
D | test_sendfile.py | 255 srv_ctx = test_utils.simple_server_sslcontext() 258 srv_ctx = None 263 lambda: srv_proto, sock=srv_sock, ssl=srv_ctx))
|