Home
last modified time | relevance | path

Searched refs:ctx (Results 1676 - 1700 of 7221) sorted by relevance

1...<<61626364656667686970>>...289

/third_party/ffmpeg/libavfilter/
H A Dvf_subtitles.c88 static void ass_log(int ass_level, const char *fmt, va_list args, void *ctx) in ass_log() argument
94 av_vlog(ctx, level, fmt, args); in ass_log()
95 av_log(ctx, level, "\n"); in ass_log()
98 static av_cold int init(AVFilterContext *ctx) in init() argument
100 AssContext *ass = ctx->priv; in init()
103 av_log(ctx, AV_LOG_ERROR, "No filename provided!\n"); in init()
109 av_log(ctx, AV_LOG_ERROR, "Could not initialize libass.\n"); in init()
112 ass_set_message_cb(ass->library, ass_log, ctx); in init()
119 av_log(ctx, AV_LOG_ERROR, "Could not initialize libass renderer.\n"); in init()
126 static av_cold void uninit(AVFilterContext *ctx) in uninit() argument
138 query_formats(AVFilterContext *ctx) query_formats() argument
186 AVFilterContext *ctx = inlink->dst; filter_frame() local
232 init_ass(AVFilterContext *ctx) init_ass() argument
309 init_subtitles(AVFilterContext *ctx) init_subtitles() argument
[all...]
H A Dvf_vpp_qsv.c164 static int eval_expr(AVFilterContext *ctx) in eval_expr() argument
167 ret = av_expr_parse(&e, s, var_names, NULL, NULL, NULL, NULL, 0, ctx); \ in eval_expr()
169 av_log(ctx, AV_LOG_ERROR, "Error when passing '%s'.\n", s);\ in eval_expr()
176 VPPContext *vpp = ctx->priv; in eval_expr()
193 var_values[VAR_IN_W] = ctx->inputs[0]->w; in eval_expr()
196 var_values[VAR_IN_H] = ctx->inputs[0]->h; in eval_expr()
240 static av_cold int vpp_init(AVFilterContext *ctx) in vpp_init() argument
242 VPPContext *vpp = ctx->priv; in vpp_init()
249 av_log(ctx, AV_LOG_ERROR, "Unrecognized output pixel format: %s\n", vpp->output_format_str); in vpp_init()
259 AVFilterContext *ctx in config_input() local
293 get_mfx_version(const AVFilterContext *ctx, mfxVersion *mfx_version) get_mfx_version() argument
321 AVFilterContext *ctx = outlink->src; config_output() local
521 activate(AVFilterContext *ctx) activate() argument
592 query_formats(AVFilterContext *ctx) query_formats() argument
618 vpp_uninit(AVFilterContext *ctx) vpp_uninit() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/freedreno/a6xx/
H A Dfd6_texture.c136 struct fd_context *ctx = fd_context(pctx); in fd6_sampler_state_delete() local
137 struct fd6_context *fd6_ctx = fd6_context(ctx); in fd6_sampler_state_delete()
140 fd_screen_lock(ctx->screen); in fd6_sampler_state_delete()
153 fd_screen_unlock(ctx->screen); in fd6_sampler_state_delete()
184 struct fd_context *ctx = fd_context(pctx); variable
200 fd6_validate_format(ctx, rsc, so->base.format);
201 fd6_sampler_view_update(ctx, so);
208 fd6_sampler_view_update(struct fd_context *ctx, in fd6_sampler_view_update() argument
216 fd6_validate_format(ctx, rsc, cso->format); in fd6_sampler_view_update()
223 so->seqno = ++fd6_context(ctx) in fd6_sampler_view_update()
290 struct fd_context *ctx = fd_context(pctx); fd6_sampler_view_destroy() local
330 fd6_texture_state(struct fd_context *ctx, enum pipe_shader_type type, struct fd_texture_stateobj *tex) fd6_texture_state() argument
440 struct fd_context *ctx = fd_context(pctx); global() variable
459 struct fd_context *ctx = fd_context(pctx); fd6_texture_fini() local
[all...]
H A Dfd6_context.c76 struct fd_context *ctx = fd_context(pctx); in fd6_vertex_state_create() local
82 fd_ringbuffer_new_object(ctx->pipe, 4 * (num_elements * 2 + 1)); in fd6_vertex_state_create()
144 setup_state_map(struct fd_context *ctx) in setup_state_map() argument
148 fd_context_add_map(ctx, FD_DIRTY_VTXSTATE, BIT(FD6_GROUP_VTXSTATE)); in setup_state_map()
149 fd_context_add_map(ctx, FD_DIRTY_VTXBUF, BIT(FD6_GROUP_VBO)); in setup_state_map()
150 fd_context_add_map(ctx, FD_DIRTY_ZSA | FD_DIRTY_RASTERIZER, in setup_state_map()
152 fd_context_add_map(ctx, FD_DIRTY_ZSA | FD_DIRTY_BLEND | FD_DIRTY_PROG, in setup_state_map()
154 fd_context_add_map(ctx, FD_DIRTY_PROG | FD_DIRTY_RASTERIZER_CLIP_PLANE_ENABLE, in setup_state_map()
156 fd_context_add_map(ctx, FD_DIRTY_RASTERIZER, BIT(FD6_GROUP_RASTERIZER)); in setup_state_map()
157 fd_context_add_map(ctx, in setup_state_map()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/signature/
H A Ddsa_sig.c120 static int dsa_setup_md(PROV_DSA_CTX *ctx, in dsa_setup_md() argument
124 mdprops = ctx->propq; in dsa_setup_md()
127 int sha1_allowed = (ctx->operation != EVP_PKEY_OP_SIGN); in dsa_setup_md()
129 EVP_MD *md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in dsa_setup_md()
130 int md_nid = ossl_digest_get_approved_nid_with_sha1(ctx->libctx, md, in dsa_setup_md()
141 if (mdname_len >= sizeof(ctx->mdname)) in dsa_setup_md()
148 if (!ctx->flag_allow_md) { in dsa_setup_md()
149 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in dsa_setup_md()
151 "digest %s != %s", mdname, ctx in dsa_setup_md()
388 PROV_DSA_CTX *ctx = (PROV_DSA_CTX *)vpdsactx; dsa_freectx() local
470 dsa_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) dsa_gettable_ctx_params() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/dh/
H A Ddh_pmeth.c54 static int pkey_dh_init(EVP_PKEY_CTX *ctx) in pkey_dh_init() argument
67 ctx->data = dctx; in pkey_dh_init()
68 ctx->keygen_info = dctx->gentmp; in pkey_dh_init()
69 ctx->keygen_info_count = 2; in pkey_dh_init()
74 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) in pkey_dh_cleanup() argument
76 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_cleanup()
117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dh_ctrl() argument
119 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_ctrl()
224 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_dh_ctrl_str() argument
230 return EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, le in pkey_dh_ctrl_str()
322 pkey_dh_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_paramgen() argument
376 pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_keygen() argument
398 pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) pkey_dh_derive() argument
[all...]
/third_party/openssl/crypto/dh/
H A Ddh_pmeth.c54 static int pkey_dh_init(EVP_PKEY_CTX *ctx) in pkey_dh_init() argument
67 ctx->data = dctx; in pkey_dh_init()
68 ctx->keygen_info = dctx->gentmp; in pkey_dh_init()
69 ctx->keygen_info_count = 2; in pkey_dh_init()
74 static void pkey_dh_cleanup(EVP_PKEY_CTX *ctx) in pkey_dh_cleanup() argument
76 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_cleanup()
117 static int pkey_dh_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) in pkey_dh_ctrl() argument
119 DH_PKEY_CTX *dctx = ctx->data; in pkey_dh_ctrl()
224 static int pkey_dh_ctrl_str(EVP_PKEY_CTX *ctx, in pkey_dh_ctrl_str() argument
230 return EVP_PKEY_CTX_set_dh_paramgen_prime_len(ctx, le in pkey_dh_ctrl_str()
322 pkey_dh_paramgen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_paramgen() argument
376 pkey_dh_keygen(EVP_PKEY_CTX *ctx, EVP_PKEY *pkey) pkey_dh_keygen() argument
398 pkey_dh_derive(EVP_PKEY_CTX *ctx, unsigned char *key, size_t *keylen) pkey_dh_derive() argument
[all...]
/third_party/openssl/providers/implementations/signature/
H A Ddsa_sig.c120 static int dsa_setup_md(PROV_DSA_CTX *ctx, in dsa_setup_md() argument
124 mdprops = ctx->propq; in dsa_setup_md()
127 int sha1_allowed = (ctx->operation != EVP_PKEY_OP_SIGN); in dsa_setup_md()
129 EVP_MD *md = EVP_MD_fetch(ctx->libctx, mdname, mdprops); in dsa_setup_md()
130 int md_nid = ossl_digest_get_approved_nid_with_sha1(ctx->libctx, md, in dsa_setup_md()
141 if (mdname_len >= sizeof(ctx->mdname)) in dsa_setup_md()
148 if (!ctx->flag_allow_md) { in dsa_setup_md()
149 if (ctx->mdname[0] != '\0' && !EVP_MD_is_a(md, ctx->mdname)) { in dsa_setup_md()
151 "digest %s != %s", mdname, ctx in dsa_setup_md()
388 PROV_DSA_CTX *ctx = (PROV_DSA_CTX *)vpdsactx; dsa_freectx() local
470 dsa_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) dsa_gettable_ctx_params() argument
[all...]
/third_party/openssl/test/
H A Dexptest.c51 BN_CTX *ctx = BN_CTX_new(); in test_mod_exp_zero() local
68 if (!TEST_true(BN_mod_exp(r, a, p, m, ctx))) in test_mod_exp_zero()
74 if (!TEST_true(BN_mod_exp_recp(r, a, p, m, ctx))) in test_mod_exp_zero()
80 if (!TEST_true(BN_mod_exp_simple(r, a, p, m, ctx))) in test_mod_exp_zero()
86 if (!TEST_true(BN_mod_exp_mont(r, a, p, m, ctx, NULL))) in test_mod_exp_zero()
92 if (!TEST_true(BN_mod_exp_mont_consttime(r, a, p, m, ctx, NULL))) in test_mod_exp_zero()
103 if (!TEST_false(BN_mod_exp_mont_consttime(r, p, a, m, ctx, mont))) in test_mod_exp_zero()
105 if (!TEST_false(BN_mod_exp_mont(r, p, a, m, ctx, mont))) in test_mod_exp_zero()
109 if (!TEST_true(BN_MONT_CTX_set(mont, m, ctx))) in test_mod_exp_zero()
113 if (!TEST_true(BN_mod_exp_mont_consttime(r, p, a, m, ctx, mon in test_mod_exp_zero()
153 BN_CTX *ctx; test_mod_exp() local
241 BN_CTX *ctx; test_mod_exp_x2() local
[all...]
/third_party/node/deps/openssl/openssl/ssl/
H A Dssl_cert.c38 static int ssl_security_default_callback(const SSL *s, const SSL_CTX *ctx,
261 int ssl_cert_set0_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain) in ssl_cert_set0_chain() argument
264 CERT_PKEY *cpk = s != NULL ? s->cert->key : ctx->cert->key; in ssl_cert_set0_chain()
271 r = ssl_security_cert(s, ctx, x, 0, 0); in ssl_cert_set0_chain()
282 int ssl_cert_set1_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain) in ssl_cert_set1_chain() argument
286 return ssl_cert_set0_chain(s, ctx, NULL); in ssl_cert_set1_chain()
290 if (!ssl_cert_set0_chain(s, ctx, dchain)) { in ssl_cert_set1_chain()
297 int ssl_cert_add0_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x) in ssl_cert_add0_chain_cert() argument
300 CERT_PKEY *cpk = s ? s->cert->key : ctx->cert->key; in ssl_cert_add0_chain_cert()
303 r = ssl_security_cert(s, ctx, in ssl_cert_add0_chain_cert()
315 ssl_cert_add1_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x) ssl_cert_add1_chain_cert() argument
387 X509_STORE_CTX *ctx = NULL; ssl_verify_cert_chain() local
507 SSL_CTX_set0_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) SSL_CTX_set0_CA_list() argument
522 SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) SSL_CTX_set_client_CA_list() argument
574 SSL_CTX_add1_to_CA_list(SSL_CTX *ctx, const X509 *x) SSL_CTX_add1_to_CA_list() argument
588 SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x) SSL_CTX_add_client_CA() argument
812 OSSL_STORE_CTX *ctx = NULL; STACK_OF() local
874 ssl_build_cert_chain(SSL *s, SSL_CTX *ctx, int flags) ssl_build_cert_chain() argument
1002 ssl_get_security_level_bits(const SSL *s, const SSL_CTX *ctx, int *levelp) ssl_get_security_level_bits() argument
1028 ssl_security_default_callback(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex) ssl_security_default_callback() argument
1111 ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid, void *other) ssl_ctx_security() argument
[all...]
/third_party/openssl/ssl/
H A Dssl_cert.c38 static int ssl_security_default_callback(const SSL *s, const SSL_CTX *ctx,
261 int ssl_cert_set0_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain) in ssl_cert_set0_chain() argument
264 CERT_PKEY *cpk = s != NULL ? s->cert->key : ctx->cert->key; in ssl_cert_set0_chain()
271 r = ssl_security_cert(s, ctx, x, 0, 0); in ssl_cert_set0_chain()
282 int ssl_cert_set1_chain(SSL *s, SSL_CTX *ctx, STACK_OF(X509) *chain) in ssl_cert_set1_chain() argument
286 return ssl_cert_set0_chain(s, ctx, NULL); in ssl_cert_set1_chain()
290 if (!ssl_cert_set0_chain(s, ctx, dchain)) { in ssl_cert_set1_chain()
297 int ssl_cert_add0_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x) in ssl_cert_add0_chain_cert() argument
300 CERT_PKEY *cpk = s ? s->cert->key : ctx->cert->key; in ssl_cert_add0_chain_cert()
303 r = ssl_security_cert(s, ctx, in ssl_cert_add0_chain_cert()
315 ssl_cert_add1_chain_cert(SSL *s, SSL_CTX *ctx, X509 *x) ssl_cert_add1_chain_cert() argument
387 X509_STORE_CTX *ctx = NULL; ssl_verify_cert_chain() local
507 SSL_CTX_set0_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) SSL_CTX_set0_CA_list() argument
522 SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) SSL_CTX_set_client_CA_list() argument
574 SSL_CTX_add1_to_CA_list(SSL_CTX *ctx, const X509 *x) SSL_CTX_add1_to_CA_list() argument
588 SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x) SSL_CTX_add_client_CA() argument
812 OSSL_STORE_CTX *ctx = NULL; STACK_OF() local
874 ssl_build_cert_chain(SSL *s, SSL_CTX *ctx, int flags) ssl_build_cert_chain() argument
1002 ssl_get_security_level_bits(const SSL *s, const SSL_CTX *ctx, int *levelp) ssl_get_security_level_bits() argument
1028 ssl_security_default_callback(const SSL *s, const SSL_CTX *ctx, int op, int bits, int nid, void *other, void *ex) ssl_security_default_callback() argument
1111 ssl_ctx_security(const SSL_CTX *ctx, int op, int bits, int nid, void *other) ssl_ctx_security() argument
[all...]
/third_party/mesa3d/src/gallium/drivers/virgl/
H A Dvirgl_texture.c115 static void *texture_transfer_map_resolve(struct pipe_context *ctx, in texture_transfer_map_resolve() argument
122 struct virgl_context *vctx = virgl_context(ctx); in texture_transfer_map_resolve()
133 if (!virgl_has_readback_format(ctx->screen, pipe_to_virgl_format(fmt), true)) { in texture_transfer_map_resolve()
142 assert(virgl_has_readback_format(ctx->screen, pipe_to_virgl_format(fmt), true)); in texture_transfer_map_resolve()
157 resolve_tmp = ctx->screen->resource_create(ctx->screen, &templ); in texture_transfer_map_resolve()
162 virgl_copy_region_with_blit(ctx, resolve_tmp, 0, &dst_box, resource, in texture_transfer_map_resolve()
164 ctx->flush(ctx, NULL, 0); in texture_transfer_map_resolve()
167 void *ptr = virgl_resource_transfer_map(ctx, resolve_tm in texture_transfer_map_resolve()
233 virgl_texture_transfer_map(struct pipe_context *ctx, struct pipe_resource *resource, unsigned level, unsigned usage, const struct pipe_box *box, struct pipe_transfer **transfer) virgl_texture_transfer_map() argument
247 flush_data(struct pipe_context *ctx, struct virgl_transfer *trans, const struct pipe_box *box) flush_data() argument
257 virgl_texture_transfer_unmap(struct pipe_context *ctx, struct pipe_transfer *transfer) virgl_texture_transfer_unmap() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/
H A Deapol_supp_sm.h86 * ctx - Pointer to arbitrary upper level context
88 void *ctx; member
102 * @ctx: Pointer to context data (cb_ctx)
110 void *ctx);
136 * @ctx: Callback context (ctx)
142 void (*eapol_done_cb)(void *ctx);
146 * @ctx: Callback context (eapol_send_ctx)
152 int (*eapol_send)(void *ctx, int type, const u8 *buf, size_t len);
156 * @ctx
371 eapol_sm_init(struct eapol_ctx *ctx) eapol_sm_init() argument
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dparse.c52 static struct token *handle_attributes(struct token *token, struct decl_state *ctx);
674 static void apply_modifiers(struct position pos, struct decl_state *ctx) in apply_modifiers() argument
677 if (!ctx->mode) in apply_modifiers()
679 ctype = ctx->mode->to_mode(ctx->ctype.base_type); in apply_modifiers()
682 show_typename(ctx->ctype.base_type)); in apply_modifiers()
684 ctx->ctype.base_type = ctype; in apply_modifiers()
719 struct token *token, struct decl_state *ctx, in struct_union_enum_specifier()
739 ctx->ctype.base_type = sym; in struct_union_enum_specifier()
758 ctx in struct_union_enum_specifier()
718 struct_union_enum_specifier(enum type type, struct token *token, struct decl_state *ctx, struct token *(*parse)(struct token *, struct symbol *)) struct_union_enum_specifier() argument
800 struct_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) struct_specifier() argument
805 union_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) union_specifier() argument
923 struct decl_state ctx = { }; parse_enum_declaration() local
1039 enum_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) enum_specifier() argument
1050 typeof_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) typeof_specifier() argument
1076 autotype_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) autotype_specifier() argument
1083 ignore_attribute(struct token *token, struct symbol *attr, struct decl_state *ctx) ignore_attribute() argument
1091 attribute_packed(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_packed() argument
1100 attribute_aligned(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_aligned() argument
1125 apply_qualifier(struct position *pos, struct ctype *ctx, unsigned long qual) apply_qualifier() argument
1130 attribute_modifier(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_modifier() argument
1136 attribute_function(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_function() argument
1142 attribute_bitwise(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_bitwise() argument
1159 attribute_address_space(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_address_space() argument
1253 attribute_mode(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_mode() argument
1269 attribute_context(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_context() argument
1294 attribute_designated_init(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_designated_init() argument
1303 attribute_transparent_union(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_transparent_union() argument
1327 attribute_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) attribute_specifier() argument
1349 decl_modifiers(struct decl_state *ctx) decl_modifiers() argument
1356 storage_specifier(struct token *next, struct symbol *sym, struct decl_state *ctx) storage_specifier() argument
1374 thread_specifier(struct token *next, struct symbol *sym, struct decl_state *ctx) thread_specifier() argument
1387 attribute_force(struct token *token, struct symbol *attr, struct decl_state *ctx) attribute_force() argument
1393 alignas_specifier(struct token *token, struct symbol *sym, struct decl_state *ctx) alignas_specifier() argument
1428 generic_qualifier(struct token *next, struct symbol *sym, struct decl_state *ctx) generic_qualifier() argument
1505 handle_qualifiers(struct token *t, struct decl_state *ctx) handle_qualifiers() argument
1520 declaration_specifiers(struct token *token, struct decl_state *ctx) declaration_specifiers() argument
1627 handle_asm_name(struct token *token, struct decl_state *ctx) handle_asm_name() argument
1697 handle_attributes(struct token *token, struct decl_state *ctx) handle_attributes() argument
1773 direct_declarator(struct token *token, struct decl_state *ctx) direct_declarator() argument
1820 pointer(struct token *token, struct decl_state *ctx) pointer() argument
1840 declarator(struct token *token, struct decl_state *ctx) declarator() argument
1846 handle_bitfield(struct token *token, struct decl_state *ctx) handle_bitfield() argument
1894 struct decl_state ctx = {.prefer_abstract = 0}; declaration_list() local
1944 struct decl_state ctx = {.prefer_abstract = 1}; parameter_declaration() local
1960 struct decl_state ctx = {.prefer_abstract = 1}; typename() local
2442 struct decl_state ctx = { }; handle_label_attributes() local
2892 struct decl_state ctx = { .ident = &ident }; external_declaration() local
[all...]
/third_party/openssl/ohos_lite/include/openssl/
H A Drsa.h95 # define EVP_PKEY_CTX_set_rsa_padding(ctx, pad) \
96 RSA_pkey_ctx_ctrl(ctx, -1, EVP_PKEY_CTRL_RSA_PADDING, pad, NULL)
98 # define EVP_PKEY_CTX_get_rsa_padding(ctx, ppad) \
99 RSA_pkey_ctx_ctrl(ctx, -1, EVP_PKEY_CTRL_GET_RSA_PADDING, 0, ppad)
101 # define EVP_PKEY_CTX_set_rsa_pss_saltlen(ctx, len) \
102 RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIGN|EVP_PKEY_OP_VERIFY), \
113 # define EVP_PKEY_CTX_set_rsa_pss_keygen_saltlen(ctx, len) \
114 EVP_PKEY_CTX_ctrl(ctx, EVP_PKEY_RSA_PSS, EVP_PKEY_OP_KEYGEN, \
117 # define EVP_PKEY_CTX_get_rsa_pss_saltlen(ctx, plen) \
118 RSA_pkey_ctx_ctrl(ctx, (EVP_PKEY_OP_SIG
[all...]
/third_party/node/lib/
H A Dfs.js252 const ctx = { path };
253 binding.access(pathModule.toNamespacedPath(path), mode, undefined, ctx);
254 handleErrorFromBinding(ctx);
301 const ctx = { path };
303 binding.access(nPath, F_OK, undefined, ctx);
308 if (isWindows && ctx.errno === undefined) {
309 binding.stat(nPath, false, undefined, ctx);
312 return ctx.errno === undefined;
416 const ctx = {};
417 const stats = binding.fstat(fd, false, undefined, ctx);
[all...]
/device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/
H A Dcipher_internal.h50 int (*ecb_func)( void *ctx, mbedtls_operation_t mode,
55 int (*cbc_func)( void *ctx, mbedtls_operation_t mode, size_t length,
62 int (*cfb_func)( void *ctx, mbedtls_operation_t mode, size_t length, size_t *iv_off,
69 int (*ofb_func)( void *ctx, size_t length, size_t *iv_off,
77 int (*ctr_func)( void *ctx, size_t length, size_t *nc_off,
84 int (*xts_func)( void *ctx, mbedtls_operation_t mode, size_t length,
91 int (*stream_func)( void *ctx, size_t length,
96 int (*setkey_enc_func)( void *ctx, const unsigned char *key,
100 int (*setkey_dec_func)( void *ctx, const unsigned char *key,
107 void (*ctx_free_func)( void *ctx );
[all...]
H A Dmd5.h74 * \param ctx MD5 context to be initialized
81 void mbedtls_md5_init( mbedtls_md5_context *ctx );
86 * \param ctx MD5 context to be cleared
93 void mbedtls_md5_free( mbedtls_md5_context *ctx );
112 * \param ctx context to be initialized
121 int mbedtls_md5_starts_ret( mbedtls_md5_context *ctx );
126 * \param ctx MD5 context
137 int mbedtls_md5_update_ret( mbedtls_md5_context *ctx,
144 * \param ctx MD5 context
154 int mbedtls_md5_finish_ret( mbedtls_md5_context *ctx,
[all...]
H A Dmd4.h75 * \param ctx MD4 context to be initialized
82 void mbedtls_md4_init( mbedtls_md4_context *ctx );
87 * \param ctx MD4 context to be cleared
94 void mbedtls_md4_free( mbedtls_md4_context *ctx );
113 * \param ctx context to be initialized
121 int mbedtls_md4_starts_ret( mbedtls_md4_context *ctx );
126 * \param ctx MD4 context
137 int mbedtls_md4_update_ret( mbedtls_md4_context *ctx,
144 * \param ctx MD4 context
154 int mbedtls_md4_finish_ret( mbedtls_md4_context *ctx,
[all...]
H A Dmd2.h75 * \param ctx MD2 context to be initialized
82 void mbedtls_md2_init( mbedtls_md2_context *ctx );
87 * \param ctx MD2 context to be cleared
94 void mbedtls_md2_free( mbedtls_md2_context *ctx );
113 * \param ctx context to be initialized
122 int mbedtls_md2_starts_ret( mbedtls_md2_context *ctx );
127 * \param ctx MD2 context
138 int mbedtls_md2_update_ret( mbedtls_md2_context *ctx,
145 * \param ctx MD2 context
155 int mbedtls_md2_finish_ret( mbedtls_md2_context *ctx,
[all...]
H A Dnet_sockets.h97 * \param ctx Context to initialize
99 void mbedtls_net_init( mbedtls_net_context *ctx );
104 * \param ctx Socket to use
116 int mbedtls_net_connect( mbedtls_net_context *ctx, const char *host, const char *port, int proto );
122 * \param ctx Socket to use
135 int mbedtls_net_bind( mbedtls_net_context *ctx, const char *bind_ip, const char *port, int proto );
160 * \param ctx Socket to check
178 int mbedtls_net_poll( mbedtls_net_context *ctx, uint32_t rw, uint32_t timeout );
183 * \param ctx Socket to set
187 int mbedtls_net_set_block( mbedtls_net_context *ctx );
[all...]
H A Dsha1.h82 * \param ctx The SHA-1 context to initialize.
86 void mbedtls_sha1_init( mbedtls_sha1_context *ctx );
95 * \param ctx The SHA-1 context to clear. This may be \c NULL,
101 void mbedtls_sha1_free( mbedtls_sha1_context *ctx );
124 * \param ctx The SHA-1 context to initialize. This must be initialized.
130 int mbedtls_sha1_starts_ret( mbedtls_sha1_context *ctx );
140 * \param ctx The SHA-1 context. This must be initialized
149 int mbedtls_sha1_update_ret( mbedtls_sha1_context *ctx,
161 * \param ctx The SHA-1 context to use. This must be initialized and
169 int mbedtls_sha1_finish_ret( mbedtls_sha1_context *ctx,
[all...]
H A Dripemd160.h66 * \param ctx RIPEMD-160 context to be initialized
68 void mbedtls_ripemd160_init( mbedtls_ripemd160_context *ctx );
73 * \param ctx RIPEMD-160 context to be cleared
75 void mbedtls_ripemd160_free( mbedtls_ripemd160_context *ctx );
89 * \param ctx context to be initialized
93 int mbedtls_ripemd160_starts_ret( mbedtls_ripemd160_context *ctx );
98 * \param ctx RIPEMD-160 context
104 int mbedtls_ripemd160_update_ret( mbedtls_ripemd160_context *ctx,
111 * \param ctx RIPEMD-160 context
116 int mbedtls_ripemd160_finish_ret( mbedtls_ripemd160_context *ctx,
[all...]
H A Dsha512.h74 * \param ctx The SHA-512 context to initialize. This must
77 void mbedtls_sha512_init( mbedtls_sha512_context *ctx );
82 * \param ctx The SHA-512 context to clear. This may be \c NULL,
87 void mbedtls_sha512_free( mbedtls_sha512_context *ctx );
102 * \param ctx The SHA-512 context to use. This must be initialized.
109 int mbedtls_sha512_starts_ret( mbedtls_sha512_context *ctx, int is384 );
115 * \param ctx The SHA-512 context. This must be initialized
124 int mbedtls_sha512_update_ret( mbedtls_sha512_context *ctx,
133 * \param ctx The SHA-512 context. This must be initialized
141 int mbedtls_sha512_finish_ret( mbedtls_sha512_context *ctx,
[all...]
H A Dsha256.h75 * \param ctx The SHA-256 context to initialize. This must not be \c NULL.
77 void mbedtls_sha256_init( mbedtls_sha256_context *ctx );
82 * \param ctx The SHA-256 context to clear. This may be \c NULL, in which
86 void mbedtls_sha256_free( mbedtls_sha256_context *ctx );
101 * \param ctx The context to use. This must be initialized.
108 int mbedtls_sha256_starts_ret( mbedtls_sha256_context *ctx, int is224 );
114 * \param ctx The SHA-256 context. This must be initialized
123 int mbedtls_sha256_update_ret( mbedtls_sha256_context *ctx,
131 * \param ctx The SHA-256 context. This must be initialized
139 int mbedtls_sha256_finish_ret( mbedtls_sha256_context *ctx,
[all...]

Completed in 24 milliseconds

1...<<61626364656667686970>>...289