Home
last modified time | relevance | path

Searched defs:vctx (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/mesa3d/src/gallium/drivers/virgl/
Dvirgl_context.c66 virgl_can_rebind_resource(struct virgl_context *vctx, in virgl_can_rebind_resource()
86 virgl_rebind_resource(struct virgl_context *vctx, in virgl_rebind_resource()
172 static void virgl_attach_res_framebuffer(struct virgl_context *vctx) in virgl_attach_res_framebuffer()
199 static void virgl_attach_res_sampler_views(struct virgl_context *vctx, in virgl_attach_res_sampler_views()
214 static void virgl_attach_res_vertex_buffers(struct virgl_context *vctx) in virgl_attach_res_vertex_buffers()
227 static void virgl_attach_res_index_buffer(struct virgl_context *vctx, in virgl_attach_res_index_buffer()
238 static void virgl_attach_res_so_targets(struct virgl_context *vctx) in virgl_attach_res_so_targets()
251 static void virgl_attach_res_uniform_buffers(struct virgl_context *vctx, in virgl_attach_res_uniform_buffers()
268 static void virgl_attach_res_shader_buffers(struct virgl_context *vctx, in virgl_attach_res_shader_buffers()
285 static void virgl_attach_res_shader_images(struct virgl_context *vctx, in virgl_attach_res_shader_images()
[all …]
Dvirgl_streamout.c36 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_so_target() local
64 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_so_target() local
77 struct virgl_context *vctx = virgl_context(ctx); in virgl_set_so_targets() local
97 void virgl_init_so_functions(struct virgl_context *vctx) in virgl_init_so_functions()
Dvirgl_query.c87 struct virgl_context *vctx = virgl_context(ctx); in virgl_render_condition() local
98 struct virgl_context *vctx = virgl_context(ctx); in virgl_create_query() local
130 struct virgl_context *vctx = virgl_context(ctx); in virgl_destroy_query() local
142 struct virgl_context *vctx = virgl_context(ctx); in virgl_begin_query() local
154 struct virgl_context *vctx = virgl_context(ctx); in virgl_end_query() local
183 struct virgl_context *vctx = virgl_context(ctx); in virgl_get_query_result() local
246 struct virgl_context *vctx = virgl_context(ctx); in virgl_get_query_result_resource() local
253 void virgl_init_query_functions(struct virgl_context *vctx) in virgl_init_query_functions()
Dvirgl_resource.c115 static bool virgl_res_needs_flush(struct virgl_context *vctx, in virgl_res_needs_flush()
140 static bool virgl_res_needs_readback(struct virgl_context *vctx, in virgl_res_needs_readback()
155 virgl_resource_transfer_prepare(struct virgl_context *vctx, in virgl_resource_transfer_prepare()
341 virgl_staging_map(struct virgl_context *vctx, in virgl_staging_map()
409 virgl_staging_read_map(struct virgl_context *vctx, in virgl_staging_read_map()
436 virgl_resource_realloc(struct virgl_context *vctx, struct virgl_resource *res) in virgl_resource_realloc()
488 struct virgl_context *vctx = virgl_context(ctx); in virgl_resource_transfer_map() local
804 struct virgl_context *vctx = virgl_context(pipe); in virgl_buffer_subdata() local
837 virgl_resource_create_transfer(struct virgl_context *vctx, in virgl_resource_create_transfer()
895 void virgl_resource_destroy_transfer(struct virgl_context *vctx, in virgl_resource_destroy_transfer()
/third_party/openssl/providers/implementations/signature/
Decdsa_sig.c128 static int ecdsa_signverify_init(void *vctx, void *ec, in ecdsa_signverify_init()
159 static int ecdsa_sign_init(void *vctx, void *ec, const OSSL_PARAM params[]) in ecdsa_sign_init()
164 static int ecdsa_verify_init(void *vctx, void *ec, const OSSL_PARAM params[]) in ecdsa_verify_init()
169 static int ecdsa_sign(void *vctx, unsigned char *sig, size_t *siglen, in ecdsa_sign()
204 static int ecdsa_verify(void *vctx, const unsigned char *sig, size_t siglen, in ecdsa_verify()
281 static int ecdsa_digest_signverify_init(void *vctx, const char *mdname, in ecdsa_digest_signverify_init()
311 static int ecdsa_digest_sign_init(void *vctx, const char *mdname, void *ec, in ecdsa_digest_sign_init()
318 static int ecdsa_digest_verify_init(void *vctx, const char *mdname, void *ec, in ecdsa_digest_verify_init()
325 int ecdsa_digest_signverify_update(void *vctx, const unsigned char *data, in ecdsa_digest_signverify_update()
336 int ecdsa_digest_sign_final(void *vctx, unsigned char *sig, size_t *siglen, in ecdsa_digest_sign_final()
[all …]
/third_party/openssl/providers/implementations/ciphers/
Dcipher_aes_siv.c49 static void aes_siv_freectx(void *vctx) in aes_siv_freectx()
59 static void *siv_dupctx(void *vctx) in siv_dupctx()
79 static int siv_init(void *vctx, const unsigned char *key, size_t keylen, in siv_init()
101 static int siv_einit(void *vctx, const unsigned char *key, size_t keylen, in siv_einit()
108 static int siv_dinit(void *vctx, const unsigned char *key, size_t keylen, in siv_dinit()
115 static int siv_cipher(void *vctx, unsigned char *out, size_t *outl, in siv_cipher()
145 static int siv_stream_final(void *vctx, unsigned char *out, size_t *outl, in siv_stream_final()
161 static int aes_siv_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_siv_get_ctx_params()
201 static int aes_siv_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_siv_set_ctx_params()
Dcipher_aes_xts.c68 static int aes_xts_init(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_init()
97 static int aes_xts_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_einit()
104 static int aes_xts_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_xts_dinit()
124 static void aes_xts_freectx(void *vctx) in aes_xts_freectx()
132 static void *aes_xts_dupctx(void *vctx) in aes_xts_dupctx()
157 static int aes_xts_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_xts_cipher()
192 static int aes_xts_stream_update(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_update()
211 static int aes_xts_stream_final(void *vctx, unsigned char *out, size_t *outl, in aes_xts_stream_final()
231 static int aes_xts_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_xts_set_ctx_params()
Dcipher_aes_siv_hw.c20 static int aes_siv_initkey(void *vctx, const unsigned char *key, size_t keylen) in aes_siv_initkey()
77 static int aes_siv_settag(void *vctx, const unsigned char *tag, size_t tagl) in aes_siv_settag()
85 static void aes_siv_setspeed(void *vctx, int speed) in aes_siv_setspeed()
93 static void aes_siv_cleanup(void *vctx) in aes_siv_cleanup()
103 static int aes_siv_cipher(void *vctx, unsigned char *out, in aes_siv_cipher()
Dciphercommon.c224 int ossl_cipher_generic_einit(void *vctx, const unsigned char *key, in ossl_cipher_generic_einit()
232 int ossl_cipher_generic_dinit(void *vctx, const unsigned char *key, in ossl_cipher_generic_dinit()
243 int ossl_cipher_generic_block_update(void *vctx, unsigned char *out, in ossl_cipher_generic_block_update()
384 int ossl_cipher_generic_block_final(void *vctx, unsigned char *out, in ossl_cipher_generic_block_final()
453 int ossl_cipher_generic_stream_update(void *vctx, unsigned char *out, in ossl_cipher_generic_stream_update()
510 int ossl_cipher_generic_stream_final(void *vctx, unsigned char *out, in ossl_cipher_generic_stream_final()
520 int ossl_cipher_generic_cipher(void *vctx, unsigned char *out, size_t *outl, in ossl_cipher_generic_cipher()
543 int ossl_cipher_generic_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_cipher_generic_get_ctx_params()
591 int ossl_cipher_generic_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_cipher_generic_set_ctx_params()
660 void ossl_cipher_generic_initkey(void *vctx, size_t kbits, size_t blkbits, in ossl_cipher_generic_initkey()
Dcipher_null.c34 static void null_freectx(void *vctx) in null_freectx()
40 static int null_einit(void *vctx, const unsigned char *key, size_t keylen, in null_einit()
54 static int null_dinit(void *vctx, const unsigned char *key, size_t keylen, in null_dinit()
65 static int null_cipher(void *vctx, unsigned char *out, size_t *outl, in null_cipher()
92 static int null_final(void *vctx, unsigned char *out, size_t *outl, in null_final()
123 static int null_get_ctx_params(void *vctx, OSSL_PARAM params[]) in null_get_ctx_params()
161 static int null_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in null_set_ctx_params()
Dciphercommon_ccm.c68 int ossl_ccm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_ccm_set_ctx_params()
144 int ossl_ccm_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_ccm_get_ctx_params()
222 static int ccm_init(void *vctx, const unsigned char *key, size_t keylen, in ccm_init()
252 int ossl_ccm_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_ccm_einit()
259 int ossl_ccm_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_ccm_dinit()
266 int ossl_ccm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_ccm_stream_update()
284 int ossl_ccm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_ccm_stream_final()
301 int ossl_ccm_cipher(void *vctx, unsigned char *out, size_t *outl, size_t outsize, in ossl_ccm_cipher()
Dcipher_chacha20_poly1305.c63 static void chacha20_poly1305_freectx(void *vctx) in chacha20_poly1305_freectx()
81 static int chacha20_poly1305_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_poly1305_get_ctx_params()
143 static int chacha20_poly1305_set_ctx_params(void *vctx, in chacha20_poly1305_set_ctx_params()
228 static int chacha20_poly1305_einit(void *vctx, const unsigned char *key, in chacha20_poly1305_einit()
248 static int chacha20_poly1305_dinit(void *vctx, const unsigned char *key, in chacha20_poly1305_dinit()
268 static int chacha20_poly1305_cipher(void *vctx, unsigned char *out, in chacha20_poly1305_cipher()
295 static int chacha20_poly1305_final(void *vctx, unsigned char *out, size_t *outl, in chacha20_poly1305_final()
Dcipher_tdes_common.c56 void ossl_tdes_freectx(void *vctx) in ossl_tdes_freectx()
64 static int tdes_init(void *vctx, const unsigned char *key, size_t keylen, in tdes_init()
99 int ossl_tdes_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_einit()
106 int ossl_tdes_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_tdes_dinit()
135 int ossl_tdes_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_tdes_get_ctx_params()
Dciphercommon_gcm.c48 static int gcm_init(void *vctx, const unsigned char *key, size_t keylen, in gcm_init()
81 int ossl_gcm_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_gcm_einit()
88 int ossl_gcm_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_gcm_dinit()
143 int ossl_gcm_get_ctx_params(void *vctx, OSSL_PARAM params[]) in ossl_gcm_get_ctx_params()
230 int ossl_gcm_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in ossl_gcm_set_ctx_params()
304 int ossl_gcm_stream_update(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_update()
326 int ossl_gcm_stream_final(void *vctx, unsigned char *out, size_t *outl, in ossl_gcm_stream_final()
343 int ossl_gcm_cipher(void *vctx, in ossl_gcm_cipher()
Dcipher_aes_ocb.c104 static int aes_ocb_init(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_init()
141 static int aes_ocb_einit(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_einit()
148 static int aes_ocb_dinit(void *vctx, const unsigned char *key, size_t keylen, in aes_ocb_dinit()
231 static int aes_ocb_block_update(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_update()
262 static int aes_ocb_block_final(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_block_final()
323 static void aes_ocb_freectx(void *vctx) in aes_ocb_freectx()
334 static void *aes_ocb_dupctx(void *vctx) in aes_ocb_dupctx()
355 static int aes_ocb_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_ocb_set_ctx_params()
408 static int aes_ocb_get_ctx_params(void *vctx, OSSL_PARAM params[]) in aes_ocb_get_ctx_params()
497 static int aes_ocb_cipher(void *vctx, unsigned char *out, size_t *outl, in aes_ocb_cipher()
Dcipher_chacha20.c57 static void chacha20_freectx(void *vctx) in chacha20_freectx()
75 static int chacha20_get_ctx_params(void *vctx, OSSL_PARAM params[]) in chacha20_get_ctx_params()
104 static int chacha20_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in chacha20_set_ctx_params()
148 int ossl_chacha20_einit(void *vctx, const unsigned char *key, size_t keylen, in ossl_chacha20_einit()
167 int ossl_chacha20_dinit(void *vctx, const unsigned char *key, size_t keylen, in ossl_chacha20_dinit()
Dcipher_aes_wrp.c69 static void aes_wrap_freectx(void *vctx) in aes_wrap_freectx()
77 static int aes_wrap_init(void *vctx, const unsigned char *key, in aes_wrap_init()
142 static int aes_wrap_cipher_internal(void *vctx, unsigned char *out, in aes_wrap_cipher_internal()
202 static int aes_wrap_final(void *vctx, unsigned char *out, size_t *outl, in aes_wrap_final()
212 static int aes_wrap_cipher(void *vctx, in aes_wrap_cipher()
240 static int aes_wrap_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in aes_wrap_set_ctx_params()
Dcipher_aes_ocb_hw.c32 static int cipher_hw_aes_ocb_generic_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_generic_initkey()
64 static int cipher_hw_aes_ocb_aesni_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_aesni_initkey()
87 static int cipher_hw_aes_ocb_t4_initkey(PROV_CIPHER_CTX *vctx, in cipher_hw_aes_ocb_t4_initkey()
Dcipher_des.c65 static void des_freectx(void *vctx) in des_freectx()
73 static int des_init(void *vctx, const unsigned char *key, size_t keylen, in des_init()
105 static int des_einit(void *vctx, const unsigned char *key, size_t keylen, in des_einit()
112 static int des_dinit(void *vctx, const unsigned char *key, size_t keylen, in des_dinit()
/third_party/openssl/providers/implementations/digests/
Dsha3_prov.c53 static int keccak_init(void *vctx, ossl_unused const OSSL_PARAM params[]) in keccak_init()
62 static int keccak_init_params(void *vctx, const OSSL_PARAM params[]) in keccak_init_params()
68 static int keccak_update(void *vctx, const unsigned char *inp, size_t len) in keccak_update()
105 static int keccak_final(void *vctx, unsigned char *out, size_t *outl, in keccak_final()
123 static size_t generic_sha3_absorb(void *vctx, const void *inp, size_t len) in generic_sha3_absorb()
130 static int generic_sha3_final(unsigned char *md, void *vctx) in generic_sha3_final()
150 static size_t s390x_sha3_absorb(void *vctx, const void *inp, size_t len) in s390x_sha3_absorb()
159 static int s390x_sha3_final(unsigned char *md, void *vctx) in s390x_sha3_final()
170 static int s390x_shake_final(unsigned char *md, void *vctx) in s390x_shake_final()
254 static void keccak_freectx(void *vctx) in keccak_freectx()
[all …]
/third_party/openssl/providers/implementations/encode_decode/
Dencode_key2ms.c83 static void key2ms_freectx(void *vctx) in key2ms_freectx()
101 static int key2pvk_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in key2pvk_set_ctx_params()
112 static int key2ms_does_selection(void *vctx, int selection) in key2ms_does_selection()
128 static int key2msblob_encode(void *vctx, const void *key, int selection, in key2msblob_encode()
150 static int key2pvk_encode(void *vctx, const void *key, int selection, in key2pvk_encode()
/third_party/openssl/providers/implementations/kdfs/
Dpbkdf1.c114 static void kdf_pbkdf1_free(void *vctx) in kdf_pbkdf1_free()
124 static void kdf_pbkdf1_reset(void *vctx) in kdf_pbkdf1_reset()
152 static int kdf_pbkdf1_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pbkdf1_derive()
176 static int kdf_pbkdf1_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pbkdf1_set_ctx_params()
213 static int kdf_pbkdf1_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pbkdf1_get_ctx_params()
Dsshkdf.c67 static void kdf_sshkdf_free(void *vctx) in kdf_sshkdf_free()
77 static void kdf_sshkdf_reset(void *vctx) in kdf_sshkdf_reset()
99 static int kdf_sshkdf_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_sshkdf_derive()
135 static int kdf_sshkdf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_sshkdf_set_ctx_params()
194 static int kdf_sshkdf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_sshkdf_get_ctx_params()
Dtls1_prf.c113 static void kdf_tls1_prf_free(void *vctx) in kdf_tls1_prf_free()
123 static void kdf_tls1_prf_reset(void *vctx) in kdf_tls1_prf_reset()
136 static int kdf_tls1_prf_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_tls1_prf_derive()
167 static int kdf_tls1_prf_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_tls1_prf_set_ctx_params()
232 static int kdf_tls1_prf_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_tls1_prf_get_ctx_params()
Dpbkdf2.c91 static void kdf_pbkdf2_free(void *vctx) in kdf_pbkdf2_free()
101 static void kdf_pbkdf2_reset(void *vctx) in kdf_pbkdf2_reset()
144 static int kdf_pbkdf2_derive(void *vctx, unsigned char *key, size_t keylen, in kdf_pbkdf2_derive()
169 static int kdf_pbkdf2_set_ctx_params(void *vctx, const OSSL_PARAM params[]) in kdf_pbkdf2_set_ctx_params()
231 static int kdf_pbkdf2_get_ctx_params(void *vctx, OSSL_PARAM params[]) in kdf_pbkdf2_get_ctx_params()

1234