Home
last modified time | relevance | path

Searched refs:dctx (Results 1 - 25 of 91) sorted by relevance

1234

/third_party/lz4/lib/
H A Dlz4frame.c1232 LZ4F_dctx* const dctx = (LZ4F_dctx*)LZ4F_calloc(sizeof(LZ4F_dctx), customMem); in LZ4F_createDecompressionContext_advanced() local
1233 if (dctx == NULL) return NULL; in LZ4F_createDecompressionContext_advanced()
1235 dctx->cmem = customMem; in LZ4F_createDecompressionContext_advanced()
1236 dctx->version = version; in LZ4F_createDecompressionContext_advanced()
1237 return dctx; in LZ4F_createDecompressionContext_advanced()
1259 LZ4F_errorCode_t LZ4F_freeDecompressionContext(LZ4F_dctx* dctx) in LZ4F_freeDecompressionContext() argument
1262 if (dctx != NULL) { /* can accept NULL input, like free() */ in LZ4F_freeDecompressionContext()
1263 result = (LZ4F_errorCode_t)dctx->dStage; in LZ4F_freeDecompressionContext()
1264 LZ4F_free(dctx->tmpIn, dctx in LZ4F_freeDecompressionContext()
1274 LZ4F_resetDecompressionContext(LZ4F_dctx* dctx) LZ4F_resetDecompressionContext() argument
1291 LZ4F_decodeHeader(LZ4F_dctx* dctx, const void* src, size_t srcSize) LZ4F_decodeHeader() argument
1428 LZ4F_getFrameInfo(LZ4F_dctx* dctx, LZ4F_frameInfo_t* frameInfoPtr, const void* srcBuffer, size_t* srcSizePtr) LZ4F_getFrameInfo() argument
1470 LZ4F_updateDict(LZ4F_dctx* dctx, const BYTE* dstPtr, size_t dstSize, const BYTE* dstBufferStart, unsigned withinTmp) LZ4F_updateDict() argument
1556 LZ4F_decompress(LZ4F_dctx* dctx, void* dstBuffer, size_t* dstSizePtr, const void* srcBuffer, size_t* srcSizePtr, const LZ4F_decompressOptions_t* decompressOptionsPtr) LZ4F_decompress() argument
2065 LZ4F_decompress_usingDict(LZ4F_dctx* dctx, void* dstBuffer, size_t* dstSizePtr, const void* srcBuffer, size_t* srcSizePtr, const void* dict, size_t dictSize, const LZ4F_decompressOptions_t* decompressOptionsPtr) LZ4F_decompress_usingDict() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/dh/
H A Ddh_pmeth.c56 DH_PKEY_CTX *dctx; in pkey_dh_init() local
58 if ((dctx = OPENSSL_zalloc(sizeof(*dctx))) == NULL) { in pkey_dh_init()
62 dctx->prime_len = 2048; in pkey_dh_init()
63 dctx->subprime_len = -1; in pkey_dh_init()
64 dctx->generator = 2; in pkey_dh_init()
65 dctx->kdf_type = EVP_PKEY_DH_KDF_NONE; in pkey_dh_init()
67 ctx->data = dctx; in pkey_dh_init()
68 ctx->keygen_info = dctx->gentmp; in pkey_dh_init()
76 DH_PKEY_CTX *dctx in pkey_dh_cleanup() local
88 DH_PKEY_CTX *dctx, *sctx; pkey_dh_copy() local
119 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_ctrl() local
233 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_ctrl_str() local
243 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_ctrl_str() local
276 ffc_params_generate(OSSL_LIB_CTX *libctx, DH_PKEY_CTX *dctx, BN_GENCB *pcb) ffc_params_generate() argument
326 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_paramgen() local
378 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_keygen() local
404 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_derive() local
[all...]
/third_party/openssl/crypto/dh/
H A Ddh_pmeth.c56 DH_PKEY_CTX *dctx; in pkey_dh_init() local
58 if ((dctx = OPENSSL_zalloc(sizeof(*dctx))) == NULL) { in pkey_dh_init()
62 dctx->prime_len = 2048; in pkey_dh_init()
63 dctx->subprime_len = -1; in pkey_dh_init()
64 dctx->generator = 2; in pkey_dh_init()
65 dctx->kdf_type = EVP_PKEY_DH_KDF_NONE; in pkey_dh_init()
67 ctx->data = dctx; in pkey_dh_init()
68 ctx->keygen_info = dctx->gentmp; in pkey_dh_init()
76 DH_PKEY_CTX *dctx in pkey_dh_cleanup() local
88 DH_PKEY_CTX *dctx, *sctx; pkey_dh_copy() local
119 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_ctrl() local
233 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_ctrl_str() local
243 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_ctrl_str() local
276 ffc_params_generate(OSSL_LIB_CTX *libctx, DH_PKEY_CTX *dctx, BN_GENCB *pcb) ffc_params_generate() argument
326 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_paramgen() local
378 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_keygen() local
404 DH_PKEY_CTX *dctx = ctx->data; pkey_dh_derive() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Dec_pmeth.c49 EC_PKEY_CTX *dctx; in pkey_ec_init() local
51 if ((dctx = OPENSSL_zalloc(sizeof(*dctx))) == NULL) { in pkey_ec_init()
56 dctx->cofactor_mode = -1; in pkey_ec_init()
57 dctx->kdf_type = EVP_PKEY_ECDH_KDF_NONE; in pkey_ec_init()
58 ctx->data = dctx; in pkey_ec_init()
64 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local
68 dctx = dst->data; in pkey_ec_copy()
70 dctx->gen_group = EC_GROUP_dup(sctx->gen_group); in pkey_ec_copy()
71 if (!dctx in pkey_ec_copy()
96 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_cleanup() local
111 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_sign() local
149 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_verify() local
175 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_derive() local
218 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_kdf_derive() local
253 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_ctrl() local
435 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_paramgen() local
454 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_keygen() local
[all...]
/third_party/openssl/crypto/ec/
H A Dec_pmeth.c49 EC_PKEY_CTX *dctx; in pkey_ec_init() local
51 if ((dctx = OPENSSL_zalloc(sizeof(*dctx))) == NULL) { in pkey_ec_init()
56 dctx->cofactor_mode = -1; in pkey_ec_init()
57 dctx->kdf_type = EVP_PKEY_ECDH_KDF_NONE; in pkey_ec_init()
58 ctx->data = dctx; in pkey_ec_init()
64 EC_PKEY_CTX *dctx, *sctx; in pkey_ec_copy() local
68 dctx = dst->data; in pkey_ec_copy()
70 dctx->gen_group = EC_GROUP_dup(sctx->gen_group); in pkey_ec_copy()
71 if (!dctx in pkey_ec_copy()
96 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_cleanup() local
111 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_sign() local
149 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_verify() local
175 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_derive() local
218 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_kdf_derive() local
253 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_ctrl() local
435 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_paramgen() local
454 EC_PKEY_CTX *dctx = ctx->data; pkey_ec_keygen() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Ddnxhd_parser.c37 static int dnxhd_find_frame_end(DNXHDParserContext *dctx, in dnxhd_find_frame_end() argument
40 ParseContext *pc = &dctx->pc; in dnxhd_find_frame_end()
51 dctx->cur_byte = 0; in dnxhd_find_frame_end()
52 dctx->remaining = 0; in dnxhd_find_frame_end()
58 if (pic_found && !dctx->remaining) { in dnxhd_find_frame_end()
62 dctx->cur_byte++; in dnxhd_find_frame_end()
65 if (dctx->cur_byte == 24) { in dnxhd_find_frame_end()
66 dctx->h = (state >> 32) & 0xFFFF; in dnxhd_find_frame_end()
67 } else if (dctx->cur_byte == 26) { in dnxhd_find_frame_end()
68 dctx in dnxhd_find_frame_end()
122 DNXHDParserContext *dctx = s->priv_data; dnxhd_parse() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/dsa/
H A Ddsa_pmeth.c40 DSA_PKEY_CTX *dctx = OPENSSL_malloc(sizeof(*dctx)); in pkey_dsa_init() local
42 if (dctx == NULL) in pkey_dsa_init()
44 dctx->nbits = 2048; in pkey_dsa_init()
45 dctx->qbits = 224; in pkey_dsa_init()
46 dctx->pmd = NULL; in pkey_dsa_init()
47 dctx->md = NULL; in pkey_dsa_init()
49 ctx->data = dctx; in pkey_dsa_init()
50 ctx->keygen_info = dctx->gentmp; in pkey_dsa_init()
58 DSA_PKEY_CTX *dctx, *sct in pkey_dsa_copy() local
73 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_cleanup() local
83 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_sign() local
107 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_verify() local
125 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_ctrl() local
213 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_paramgen() local
[all...]
/third_party/openssl/crypto/dsa/
H A Ddsa_pmeth.c40 DSA_PKEY_CTX *dctx = OPENSSL_malloc(sizeof(*dctx)); in pkey_dsa_init() local
42 if (dctx == NULL) in pkey_dsa_init()
44 dctx->nbits = 2048; in pkey_dsa_init()
45 dctx->qbits = 224; in pkey_dsa_init()
46 dctx->pmd = NULL; in pkey_dsa_init()
47 dctx->md = NULL; in pkey_dsa_init()
49 ctx->data = dctx; in pkey_dsa_init()
50 ctx->keygen_info = dctx->gentmp; in pkey_dsa_init()
58 DSA_PKEY_CTX *dctx, *sct in pkey_dsa_copy() local
73 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_cleanup() local
83 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_sign() local
107 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_verify() local
125 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_ctrl() local
213 DSA_PKEY_CTX *dctx = ctx->data; pkey_dsa_paramgen() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/driver_ddebug/
H A Ddd_context.c112 struct dd_context *dctx = dd_context(_pipe); in dd_context_begin_query() local
113 struct pipe_context *pipe = dctx->pipe; in dd_context_begin_query()
121 struct dd_context *dctx = dd_context(_pipe); in dd_context_end_query() local
122 struct pipe_context *pipe = dctx->pipe; in dd_context_end_query()
150 struct dd_context *dctx = dd_context(_pipe); in dd_context_render_condition() local
151 struct pipe_context *pipe = dctx->pipe; in dd_context_render_condition()
152 struct dd_draw_state *dstate = &dctx->draw_state; in dd_context_render_condition()
184 struct dd_context *dctx = dd_context(_pipe); \
185 struct pipe_context *pipe = dctx->pipe; \
188 dctx
221 struct dd_context *dctx = dd_context(_pipe); dd_context_bind_sampler_states() local
366 struct dd_context *dctx = dd_context(_pipe); dd_context_set_constant_buffer() local
379 struct dd_context *dctx = dd_context(_pipe); dd_context_set_scissor_states() local
392 struct dd_context *dctx = dd_context(_pipe); dd_context_set_viewport_states() local
404 struct dd_context *dctx = dd_context(_pipe); dd_context_set_tess_state() local
417 struct dd_context *dctx = dd_context(_pipe); dd_context_set_patch_vertices() local
428 struct dd_context *dctx = dd_context(_pipe); dd_context_set_window_rectangles() local
526 struct dd_context *dctx = dd_context(_pipe); dd_context_set_sampler_views() local
544 struct dd_context *dctx = dd_context(_pipe); dd_context_set_shader_images() local
562 struct dd_context *dctx = dd_context(_pipe); dd_context_set_shader_buffers() local
578 struct dd_context *dctx = dd_context(_pipe); dd_context_set_vertex_buffers() local
596 struct dd_context *dctx = dd_context(_pipe); dd_context_set_stream_output_targets() local
611 struct dd_context *dctx = dd_context(_pipe); dd_context_fence_server_sync() local
624 struct dd_context *dctx = dd_context(_pipe); dd_context_create_fence_fd() local
632 dd_thread_join(struct dd_context *dctx) dd_thread_join() argument
644 struct dd_context *dctx = dd_context(_pipe); dd_context_destroy() local
763 struct dd_context *dctx = dd_context(_pipe); dd_context_emit_string_marker() local
846 struct dd_context *dctx; dd_context_create() local
[all...]
H A Ddd_draw.c622 dd_dump_driver_state(struct dd_context *dctx, FILE *f, unsigned flags) in dd_dump_driver_state() argument
624 if (dctx->pipe->dump_debug_state) { in dd_dump_driver_state()
628 dctx->pipe->dump_debug_state(dctx->pipe, f, flags); in dd_dump_driver_state()
963 PRINT_NAMED(ptr, "pipe", record->dctx->pipe); in dd_write_record()
1016 dd_report_hang(struct dd_context *dctx) in dd_report_hang() argument
1018 struct dd_screen *dscreen = dd_screen(dctx->base.screen); in dd_report_hang()
1029 list_for_each_entry(struct dd_draw_record, record, &dctx->records, list) { in dd_report_hang()
1081 dd_dump_driver_state(dctx, f, PIPE_DUMP_DEVICE_STATUS_REGISTERS); in dd_report_hang()
1093 struct dd_context *dctx in dd_thread_main() local
1162 dd_create_record(struct dd_context *dctx) dd_create_record() argument
1187 dd_add_record(struct dd_context *dctx, struct dd_draw_record *record) dd_add_record() argument
1207 dd_before_draw(struct dd_context *dctx, struct dd_draw_record *record) dd_before_draw() argument
1236 struct dd_context *dctx = record->dctx; dd_after_draw_async() local
1253 dd_after_draw(struct dd_context *dctx, struct dd_draw_record *record) dd_after_draw() argument
1283 struct dd_context *dctx = dd_context(_pipe); dd_context_flush() local
1314 struct dd_context *dctx = dd_context(_pipe); dd_context_draw_vbo() local
1356 struct dd_context *dctx = dd_context(_pipe); dd_context_draw_vertex_state() local
1383 struct dd_context *dctx = dd_context(_pipe); dd_context_launch_grid() local
1404 struct dd_context *dctx = dd_context(_pipe); dd_context_resource_copy_region() local
1430 struct dd_context *dctx = dd_context(_pipe); dd_context_blit() local
1455 struct dd_context *dctx = dd_context(_pipe); dd_context_generate_mipmap() local
1485 struct dd_context *dctx = dd_context(_pipe); dd_context_get_query_result_resource() local
1513 struct dd_context *dctx = dd_context(_pipe); dd_context_flush_resource() local
1531 struct dd_context *dctx = dd_context(_pipe); dd_context_clear() local
1556 struct dd_context *dctx = dd_context(_pipe); dd_context_clear_render_target() local
1575 struct dd_context *dctx = dd_context(_pipe); dd_context_clear_depth_stencil() local
1593 struct dd_context *dctx = dd_context(_pipe); dd_context_clear_buffer() local
1617 struct dd_context *dctx = dd_context(_pipe); dd_context_clear_texture() local
1638 struct dd_context *dctx = dd_context(_pipe); dd_context_buffer_map() local
1672 struct dd_context *dctx = dd_context(_pipe); dd_context_texture_map() local
1705 struct dd_context *dctx = dd_context(_pipe); dd_context_transfer_flush_region() local
1731 struct dd_context *dctx = dd_context(_pipe); dd_context_buffer_unmap() local
1756 struct dd_context *dctx = dd_context(_pipe); dd_context_texture_unmap() local
1783 struct dd_context *dctx = dd_context(_pipe); dd_context_buffer_subdata() local
1812 struct dd_context *dctx = dd_context(_pipe); dd_context_texture_subdata() local
1837 dd_init_draw_functions(struct dd_context *dctx) dd_init_draw_functions() argument
[all...]
/third_party/lz4/ossfuzz/
H A Ddecompress_frame_fuzzer.c18 static void decompress(LZ4F_dctx* dctx, void* dst, size_t dstCapacity, in decompress() argument
23 LZ4F_resetDecompressionContext(dctx); in decompress()
25 LZ4F_decompress(dctx, dst, &dstCapacity, src, &srcSize, opts); in decompress()
27 LZ4F_decompress_usingDict(dctx, dst, &dstCapacity, src, &srcSize, in decompress()
47 LZ4F_dctx* dctx; in LLVMFuzzerTestOneInput() local
48 LZ4F_createDecompressionContext(&dctx, LZ4F_VERSION); in LLVMFuzzerTestOneInput()
50 FUZZ_ASSERT(dctx); in LLVMFuzzerTestOneInput()
61 decompress(dctx, dst, dstCapacity, data, size, NULL, 0, &opts); in LLVMFuzzerTestOneInput()
63 decompress(dctx, dst, dstCapacity, data, size, NULL, 0, &opts); in LLVMFuzzerTestOneInput()
65 decompress(dctx, ds in LLVMFuzzerTestOneInput()
[all...]
H A Dlz4_helpers.c36 LZ4F_dctx* dctx; in FUZZ_decompressFrame() local
37 LZ4F_createDecompressionContext(&dctx, LZ4F_VERSION); in FUZZ_decompressFrame()
38 FUZZ_ASSERT(dctx); in FUZZ_decompressFrame()
43 LZ4F_decompress(dctx, dst, &dstSize, src, &srcConsumed, &opts); in FUZZ_decompressFrame()
48 LZ4F_freeDecompressionContext(dctx); in FUZZ_decompressFrame()
H A Dround_trip_frame_uncompressed_fuzzer.c18 static void decompress(LZ4F_dctx *dctx, void *src, void *dst, in decompress() argument
30 ret = LZ4F_decompress(dctx, dstPtr, &dstSize, srcPtr, &srcSize, in decompress()
106 LZ4F_dctx *dctx; in compress_round_trip() local
107 LZ4F_createDecompressionContext(&dctx, LZ4F_VERSION); in compress_round_trip()
108 FUZZ_ASSERT(dctx); in compress_round_trip()
110 decompress(dctx, dst, rt, rtCapacity, compressedSize); in compress_round_trip()
112 LZ4F_freeDecompressionContext(dctx); in compress_round_trip()
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_aes_gcm.c40 PROV_AES_GCM_CTX *dctx = NULL; in aes_gcm_dupctx() local
45 dctx = OPENSSL_memdup(ctx, sizeof(*ctx)); in aes_gcm_dupctx()
46 if (dctx != NULL && dctx->base.gcm.key != NULL) in aes_gcm_dupctx()
47 dctx->base.gcm.key = &dctx->ks.ks; in aes_gcm_dupctx()
49 return dctx; in aes_gcm_dupctx()
H A Dcipher_aria_gcm.c33 PROV_ARIA_GCM_CTX *dctx = NULL; in aria_gcm_dupctx() local
38 dctx = OPENSSL_memdup(ctx, sizeof(*ctx)); in aria_gcm_dupctx()
39 if (dctx != NULL && dctx->base.gcm.key != NULL) in aria_gcm_dupctx()
40 dctx->base.gcm.key = &dctx->ks.ks; in aria_gcm_dupctx()
42 return dctx; in aria_gcm_dupctx()
H A Dcipher_aria_ccm.c34 PROV_ARIA_CCM_CTX *dctx = NULL; in aria_ccm_dupctx() local
39 dctx = OPENSSL_memdup(ctx, sizeof(*ctx)); in aria_ccm_dupctx()
40 if (dctx != NULL && dctx->base.ccm_ctx.key != NULL) in aria_ccm_dupctx()
41 dctx->base.ccm_ctx.key = &dctx->ks.ks; in aria_ccm_dupctx()
43 return dctx; in aria_ccm_dupctx()
H A Dcipher_des_hw.c22 PROV_DES_CTX *dctx = (PROV_DES_CTX *)ctx; in cipher_hw_des_initkey() local
24 DES_key_schedule *ks = &dctx->dks.ks; in cipher_hw_des_initkey()
26 dctx->dstream.cbc = NULL; in cipher_hw_des_initkey()
31 dctx->dstream.cbc = ctx->enc ? des_t4_cbc_encrypt : in cipher_hw_des_initkey()
45 PROV_DES_CTX *dctx = (PROV_DES_CTX *)dst; in cipher_hw_des_copyctx() local
47 *dctx = *sctx; in cipher_hw_des_copyctx()
48 dst->ks = &dctx->dks.ks; in cipher_hw_des_copyctx()
68 PROV_DES_CTX *dctx = (PROV_DES_CTX *)ctx; in cipher_hw_des_cbc_cipher() local
69 DES_key_schedule *key = &(dctx->dks.ks); in cipher_hw_des_cbc_cipher()
71 if (dctx in cipher_hw_des_cbc_cipher()
[all...]
H A Dcipher_aes_wrp.c72 PROV_AES_WRAP_CTX *dctx = wctx; in aes_wrap_dupctx() local
76 dctx = OPENSSL_memdup(ctx, sizeof(*ctx)); in aes_wrap_dupctx()
78 if (dctx != NULL && dctx->base.tlsmac != NULL && dctx->base.alloced) { in aes_wrap_dupctx()
79 dctx->base.tlsmac = OPENSSL_memdup(dctx->base.tlsmac, in aes_wrap_dupctx()
80 dctx->base.tlsmacsize); in aes_wrap_dupctx()
81 if (dctx->base.tlsmac == NULL) { in aes_wrap_dupctx()
82 OPENSSL_free(dctx); in aes_wrap_dupctx()
[all...]
H A Dcipher_chacha20_poly1305.c65 PROV_CHACHA20_POLY1305_CTX *dctx = NULL; in chacha20_poly1305_dupctx() local
69 dctx = OPENSSL_memdup(ctx, sizeof(*ctx)); in chacha20_poly1305_dupctx()
70 if (dctx != NULL && dctx->base.tlsmac != NULL && dctx->base.alloced) { in chacha20_poly1305_dupctx()
71 dctx->base.tlsmac = OPENSSL_memdup(dctx->base.tlsmac, in chacha20_poly1305_dupctx()
72 dctx->base.tlsmacsize); in chacha20_poly1305_dupctx()
73 if (dctx->base.tlsmac == NULL) { in chacha20_poly1305_dupctx()
74 OPENSSL_free(dctx); in chacha20_poly1305_dupctx()
[all...]
H A Dcipher_aes_xts_hw.c93 PROV_AES_XTS_CTX *dctx = (PROV_AES_XTS_CTX *)dst; in cipher_hw_aes_xts_copyctx() local
95 *dctx = *sctx; in cipher_hw_aes_xts_copyctx()
96 dctx->xts.key1 = &dctx->ks1.ks; in cipher_hw_aes_xts_copyctx()
97 dctx->xts.key2 = &dctx->ks2.ks; in cipher_hw_aes_xts_copyctx()
/third_party/openssl/providers/implementations/ciphers/
H A Dcipher_des_hw.c22 PROV_DES_CTX *dctx = (PROV_DES_CTX *)ctx; in cipher_hw_des_initkey() local
24 DES_key_schedule *ks = &dctx->dks.ks; in cipher_hw_des_initkey()
26 dctx->dstream.cbc = NULL; in cipher_hw_des_initkey()
31 dctx->dstream.cbc = ctx->enc ? des_t4_cbc_encrypt : in cipher_hw_des_initkey()
45 PROV_DES_CTX *dctx = (PROV_DES_CTX *)dst; in cipher_hw_des_copyctx() local
47 *dctx = *sctx; in cipher_hw_des_copyctx()
48 dst->ks = &dctx->dks.ks; in cipher_hw_des_copyctx()
68 PROV_DES_CTX *dctx = (PROV_DES_CTX *)ctx; in cipher_hw_des_cbc_cipher() local
69 DES_key_schedule *key = &(dctx->dks.ks); in cipher_hw_des_cbc_cipher()
71 if (dctx in cipher_hw_des_cbc_cipher()
[all...]
/third_party/libcoap/src/
H A Dcoap_cache.c79 coap_digest_ctx_t *dctx; in coap_cache_derive_key_w_ignore() local
87 dctx = coap_digest_setup(); in coap_cache_derive_key_w_ignore()
88 if (!dctx) in coap_cache_derive_key_w_ignore()
93 if (!coap_digest_update(dctx, (const uint8_t *)&session, sizeof(session))) { in coap_cache_derive_key_w_ignore()
100 if (!coap_digest_update(dctx, (const uint8_t *)&opt_iter.number, in coap_cache_derive_key_w_ignore()
104 if (!coap_digest_update(dctx, coap_opt_value(option), in coap_cache_derive_key_w_ignore()
117 if (!coap_digest_update(dctx, data, len)) { in coap_cache_derive_key_w_ignore()
123 if (!coap_digest_final(dctx, &digest)) { in coap_cache_derive_key_w_ignore()
124 /* coap_digest_final() is guaranteed to free off dctx no matter what */ in coap_cache_derive_key_w_ignore()
133 coap_digest_free(dctx); in coap_cache_derive_key_w_ignore()
[all...]
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/
H A Dprotocol_lws_minimal_dbus_ws_proxy.c95 struct lws_dbus_ctx_wsproxy dctx; member
527 vhd->dctx.ctx.tsi = tsi; in create_dbus_listener()
528 vhd->dctx.ctx.vh = vhd->vhost; in create_dbus_listener()
529 vhd->dctx.ctx.next.prev = NULL; in create_dbus_listener()
530 vhd->dctx.ctx.next.next = NULL; in create_dbus_listener()
531 vhd->dctx.vhd = vhd; in create_dbus_listener()
532 vhd->dctx.cwsi = NULL; in create_dbus_listener()
536 vhd->dctx.ctx.conn = dbus_bus_get(DBUS_BUS_SYSTEM, &e); in create_dbus_listener()
537 if (!vhd->dctx.ctx.conn) { in create_dbus_listener()
550 dbus_connection_set_exit_on_disconnect(vhd->dctx in create_dbus_listener()
[all...]
/third_party/openssl/demos/encode/
H A Dec_encode.c33 OSSL_DECODER_CTX *dctx = NULL; in load_key() local
46 dctx = OSSL_DECODER_CTX_new_for_pkey(&pkey, "PEM", NULL, "EC", in load_key()
49 if (dctx == NULL) { in load_key()
64 if (OSSL_DECODER_CTX_set_passphrase(dctx, in load_key()
73 if (OSSL_DECODER_from_fp(dctx, f) == 0) { in load_key()
80 OSSL_DECODER_CTX_free(dctx); in load_key()
H A Drsa_encode.c33 OSSL_DECODER_CTX *dctx = NULL; in load_key() local
46 dctx = OSSL_DECODER_CTX_new_for_pkey(&pkey, "PEM", NULL, "RSA", in load_key()
49 if (dctx == NULL) { in load_key()
64 if (OSSL_DECODER_CTX_set_passphrase(dctx, in load_key()
73 if (OSSL_DECODER_from_fp(dctx, f) == 0) { in load_key()
80 OSSL_DECODER_CTX_free(dctx); in load_key()

Completed in 15 milliseconds

1234