Home
last modified time | relevance | path

Searched refs:ctx (Results 326 - 350 of 7033) sorted by relevance

1...<<11121314151617181920>>...282

/third_party/openssl/crypto/ec/
H A Decp_smpl.c143 const BIGNUM *b, BN_CTX *ctx) in ossl_ec_GFp_simple_group_set_curve()
155 if (ctx == NULL) { in ossl_ec_GFp_simple_group_set_curve()
156 ctx = new_ctx = BN_CTX_new_ex(group->libctx); in ossl_ec_GFp_simple_group_set_curve()
157 if (ctx == NULL) in ossl_ec_GFp_simple_group_set_curve()
161 BN_CTX_start(ctx); in ossl_ec_GFp_simple_group_set_curve()
162 tmp_a = BN_CTX_get(ctx); in ossl_ec_GFp_simple_group_set_curve()
172 if (!BN_nnmod(tmp_a, a, p, ctx)) in ossl_ec_GFp_simple_group_set_curve()
175 if (!group->meth->field_encode(group, group->a, tmp_a, ctx)) in ossl_ec_GFp_simple_group_set_curve()
181 if (!BN_nnmod(group->b, b, p, ctx)) in ossl_ec_GFp_simple_group_set_curve()
184 if (!group->meth->field_encode(group, group->b, group->b, ctx)) in ossl_ec_GFp_simple_group_set_curve()
141 ossl_ec_GFp_simple_group_set_curve(EC_GROUP *group, const BIGNUM *p, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_group_set_curve() argument
200 ossl_ec_GFp_simple_group_get_curve(const EC_GROUP *group, BIGNUM *p, BIGNUM *a, BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_group_get_curve() argument
250 ossl_ec_GFp_simple_group_check_discriminant(const EC_GROUP *group, BN_CTX *ctx) ossl_ec_GFp_simple_group_check_discriminant() argument
375 ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, const BIGNUM *z, BN_CTX *ctx) ossl_ec_GFp_simple_set_Jprojective_coordinates_GFp() argument
435 ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BIGNUM *z, BN_CTX *ctx) ossl_ec_GFp_simple_get_Jprojective_coordinates_GFp() argument
484 ossl_ec_GFp_simple_point_set_affine_coordinates(const EC_GROUP *group, EC_POINT *point, const BIGNUM *x, const BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_simple_point_set_affine_coordinates() argument
501 ossl_ec_GFp_simple_point_get_affine_coordinates(const EC_GROUP *group, const EC_POINT *point, BIGNUM *x, BIGNUM *y, BN_CTX *ctx) ossl_ec_GFp_simple_point_get_affine_coordinates() argument
613 ossl_ec_GFp_simple_add(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GFp_simple_add() argument
798 ossl_ec_GFp_simple_dbl(const EC_GROUP *group, EC_POINT *r, const EC_POINT *a, BN_CTX *ctx) ossl_ec_GFp_simple_dbl() argument
940 ossl_ec_GFp_simple_invert(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_invert() argument
956 ossl_ec_GFp_simple_is_on_curve(const EC_GROUP *group, const EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_is_on_curve() argument
1059 ossl_ec_GFp_simple_cmp(const EC_GROUP *group, const EC_POINT *a, const EC_POINT *b, BN_CTX *ctx) ossl_ec_GFp_simple_cmp() argument
1167 ossl_ec_GFp_simple_make_affine(const EC_GROUP *group, EC_POINT *point, BN_CTX *ctx) ossl_ec_GFp_simple_make_affine() argument
1206 ossl_ec_GFp_simple_points_make_affine(const EC_GROUP *group, size_t num, EC_POINT *points[], BN_CTX *ctx) ossl_ec_GFp_simple_points_make_affine() argument
1365 ossl_ec_GFp_simple_field_mul(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, const BIGNUM *b, BN_CTX *ctx) ossl_ec_GFp_simple_field_mul() argument
1371 ossl_ec_GFp_simple_field_sqr(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GFp_simple_field_sqr() argument
1383 ossl_ec_GFp_simple_field_inv(const EC_GROUP *group, BIGNUM *r, const BIGNUM *a, BN_CTX *ctx) ossl_ec_GFp_simple_field_inv() argument
1430 ossl_ec_GFp_simple_blind_coordinates(const EC_GROUP *group, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_blind_coordinates() argument
1493 ossl_ec_GFp_simple_ladder_pre(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_pre() argument
1563 ossl_ec_GFp_simple_ladder_step(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_step() argument
1651 ossl_ec_GFp_simple_ladder_post(const EC_GROUP *group, EC_POINT *r, EC_POINT *s, EC_POINT *p, BN_CTX *ctx) ossl_ec_GFp_simple_ladder_post() argument
[all...]
/third_party/ffmpeg/libavfilter/
H A Davf_concat.c74 static int query_formats(AVFilterContext *ctx) in query_formats() argument
76 ConcatContext *cat = ctx->priv; in query_formats()
89 if ((ret = ff_formats_ref(formats, &ctx->outputs[idx]->incfg.formats)) < 0) in query_formats()
94 if ((ret = ff_formats_ref(rates, &ctx->outputs[idx]->incfg.samplerates)) < 0) in query_formats()
97 if ((ret = ff_channel_layouts_ref(layouts, &ctx->outputs[idx]->incfg.channel_layouts)) < 0) in query_formats()
103 if ((ret = ff_formats_ref(formats, &ctx->inputs[idx]->outcfg.formats)) < 0) in query_formats()
106 if ((ret = ff_formats_ref(rates, &ctx->inputs[idx]->outcfg.samplerates)) < 0 || in query_formats()
107 (ret = ff_channel_layouts_ref(layouts, &ctx->inputs[idx]->outcfg.channel_layouts)) < 0) in query_formats()
110 idx += ctx->nb_outputs; in query_formats()
121 AVFilterContext *ctx in config_output() local
173 push_frame(AVFilterContext *ctx, unsigned in_no, AVFrame *buf) push_frame() argument
200 AVFilterContext *ctx = inlink->dst; get_video_buffer() local
209 AVFilterContext *ctx = inlink->dst; get_audio_buffer() local
216 close_input(AVFilterContext *ctx, unsigned in_no) close_input() argument
226 find_next_delta_ts(AVFilterContext *ctx, int64_t *seg_delta) find_next_delta_ts() argument
240 send_silence(AVFilterContext *ctx, unsigned in_no, unsigned out_no, int64_t seg_delta) send_silence() argument
277 flush_segment(AVFilterContext *ctx) flush_segment() argument
304 init(AVFilterContext *ctx) init() argument
347 uninit(AVFilterContext *ctx) uninit() argument
354 activate(AVFilterContext *ctx) activate() argument
434 process_command(AVFilterContext *ctx, const char *cmd, const char *args, char *res, int res_len, int flags) process_command() argument
[all...]
H A Dvaapi_vpp.c46 VAAPIVPPContext *ctx = avctx->priv; in ff_vaapi_vpp_pipeline_uninit() local
48 for (i = 0; i < ctx->nb_filter_buffers; i++) { in ff_vaapi_vpp_pipeline_uninit()
49 if (ctx->filter_buffers[i] != VA_INVALID_ID) { in ff_vaapi_vpp_pipeline_uninit()
50 vaDestroyBuffer(ctx->hwctx->display, ctx->filter_buffers[i]); in ff_vaapi_vpp_pipeline_uninit()
51 ctx->filter_buffers[i] = VA_INVALID_ID; in ff_vaapi_vpp_pipeline_uninit()
54 ctx->nb_filter_buffers = 0; in ff_vaapi_vpp_pipeline_uninit()
56 if (ctx->va_context != VA_INVALID_ID) { in ff_vaapi_vpp_pipeline_uninit()
57 vaDestroyContext(ctx->hwctx->display, ctx in ff_vaapi_vpp_pipeline_uninit()
73 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_config_input() local
98 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_config_output() local
425 VAAPIVPPContext *ctx = avctx->priv; vaapi_vpp_colour_properties() local
520 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_init_params() local
571 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_make_param_buffers() local
596 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_render_picture() local
669 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_ctx_init() local
682 VAAPIVPPContext *ctx = avctx->priv; ff_vaapi_vpp_ctx_uninit() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/evp/
H A De_des3.c54 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
57 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
62 # define data(ctx) EVP_C_DATA(DES_EDE_KEY,ctx)
69 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_ede_ecb_cipher() argument
75 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ecb_cipher()
76 &data(ctx)->ks3, EVP_CIPHER_CTX_is_encrypting(ctx)); in des_ede_ecb_cipher()
80 static int des_ede_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigne argument
107 des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede_cbc_cipher() argument
135 des_ede_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede_cfb64_cipher() argument
164 des_ede3_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_cfb1_cipher() argument
185 des_ede3_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_cfb8_cipher() argument
224 des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) des_ede_init_key() argument
251 des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) des_ede3_init_key() argument
278 des3_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) des3_ctrl() argument
317 des_ede3_unwrap(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_unwrap() argument
361 des_ede3_wrap(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_wrap() argument
386 des_ede3_wrap_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_wrap_cipher() argument
[all...]
/third_party/openssl/crypto/evp/
H A De_des3.c54 static int des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
57 static int des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key,
62 # define data(ctx) EVP_C_DATA(DES_EDE_KEY,ctx)
69 static int des_ede_ecb_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, in des_ede_ecb_cipher() argument
75 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ecb_cipher()
76 &data(ctx)->ks3, EVP_CIPHER_CTX_is_encrypting(ctx)); in des_ede_ecb_cipher()
80 static int des_ede_ofb_cipher(EVP_CIPHER_CTX *ctx, unsigne argument
107 des_ede_cbc_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede_cbc_cipher() argument
135 des_ede_cfb64_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede_cfb64_cipher() argument
164 des_ede3_cfb1_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_cfb1_cipher() argument
185 des_ede3_cfb8_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_cfb8_cipher() argument
224 des_ede_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) des_ede_init_key() argument
251 des_ede3_init_key(EVP_CIPHER_CTX *ctx, const unsigned char *key, const unsigned char *iv, int enc) des_ede3_init_key() argument
278 des3_ctrl(EVP_CIPHER_CTX *ctx, int type, int arg, void *ptr) des3_ctrl() argument
317 des_ede3_unwrap(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_unwrap() argument
361 des_ede3_wrap(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_wrap() argument
386 des_ede3_wrap_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out, const unsigned char *in, size_t inl) des_ede3_wrap_cipher() argument
[all...]
/third_party/skia/src/core/
H A DSkRasterPipeline.cpp27 void SkRasterPipeline::append(StockStage stage, void* ctx) { in append() argument
38 this->unchecked_append(stage, ctx); in append()
40 void SkRasterPipeline::unchecked_append(StockStage stage, void* ctx) { in unchecked_append() argument
41 fStages = fAlloc->make<StageList>( StageList{fStages, stage, ctx} ); in unchecked_append()
43 fSlotsNeeded += ctx ? 2 : 1; in unchecked_append()
45 void SkRasterPipeline::append(StockStage stage, uintptr_t ctx) { in append() argument
47 memcpy(&ptrCtx, &ctx, sizeof(ctx)); in append()
117 auto ctx = alloc->make<SkRasterPipeline_UniformColorCtx>(); in append_constant_color() local
119 color.store(&ctx in append_constant_color()
170 append_load(SkColorType ct, const SkRasterPipeline_MemoryCtx* ctx) append_load() argument
221 append_load_dst(SkColorType ct, const SkRasterPipeline_MemoryCtx* ctx) append_load_dst() argument
275 append_store(SkColorType ct, const SkRasterPipeline_MemoryCtx* ctx) append_store() argument
327 void* ctx = const_cast<void*>(static_cast<const void*>(&tf)); append_transfer_function() local
[all...]
/third_party/mesa3d/src/mesa/main/
H A Ddlist.c61 _mesa_glthread_should_execute_list(struct gl_context *ctx,
67 * \param ctx GL context.
72 #define SAVE_FLUSH_VERTICES(ctx) \
74 if (ctx->Driver.SaveNeedFlush) \
75 vbo_save_SaveFlushVertices(ctx); \
83 * \param ctx GL context.
86 #define ASSERT_OUTSIDE_SAVE_BEGIN_END_WITH_RETVAL(ctx, retval) \
88 if (ctx->Driver.CurrentSavePrimitive <= PRIM_MAX) { \
89 _mesa_compile_error( ctx, GL_INVALID_OPERATION, "glBegin/End" ); \
98 * \param ctx G
740 vbo_destroy_vertex_list(struct gl_context *ctx, struct vbo_save_vertex_list *node) vbo_destroy_vertex_list() argument
766 vbo_print_vertex_list(struct gl_context *ctx, struct vbo_save_vertex_list *node, OpCode op, FILE *f) vbo_print_vertex_list() argument
797 get_list_head(struct gl_context *ctx, struct gl_display_list *dlist) get_list_head() argument
809 is_bitmap_list(struct gl_context *ctx, struct gl_display_list *dlist) is_bitmap_list() argument
825 is_empty_list(struct gl_context *ctx, struct gl_display_list *dlist) is_empty_list() argument
836 _mesa_delete_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas) _mesa_delete_bitmap_atlas() argument
850 lookup_bitmap_atlas(struct gl_context *ctx, GLuint listBase) lookup_bitmap_atlas() argument
864 alloc_bitmap_atlas(struct gl_context *ctx, GLuint listBase, bool isGenName) alloc_bitmap_atlas() argument
889 build_bitmap_atlas(struct gl_context *ctx, struct gl_bitmap_atlas *atlas, GLuint listBase) build_bitmap_atlas() argument
1089 _mesa_lookup_list(struct gl_context *ctx, GLuint list, bool locked) _mesa_lookup_list() argument
1101 _mesa_delete_list(struct gl_context *ctx, struct gl_display_list *dlist) _mesa_delete_list() argument
1387 destroy_list(struct gl_context *ctx, GLuint list) destroy_list() argument
1422 unpack_image(struct gl_context *ctx, GLuint dimensions, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid * pixels, const struct gl_pixelstore_attrib *unpack) unpack_image() argument
1500 dlist_alloc(struct gl_context *ctx, OpCode opcode, GLuint bytes, bool align8) dlist_alloc() argument
1547 _mesa_dlist_alloc_vertex_list(struct gl_context *ctx, bool copy_to_current) _mesa_dlist_alloc_vertex_list() argument
1573 alloc_instruction(struct gl_context *ctx, OpCode opcode, GLuint nparams) alloc_instruction() argument
1940 invalidate_saved_current_state(struct gl_context *ctx) invalidate_saved_current_state() argument
6115 save_Attr32bit(struct gl_context *ctx, unsigned attr, unsigned size, GLenum type, uint32_t x, uint32_t y, uint32_t z, uint32_t w) save_Attr32bit() argument
6186 save_Attr64bit(struct gl_context *ctx, unsigned attr, unsigned size, GLenum type, uint64_t x, uint64_t y, uint64_t z, uint64_t w) save_Attr64bit() argument
6237 is_vertex_position(const struct gl_context *ctx, GLuint index) is_vertex_position() argument
11071 save_error(struct gl_context *ctx, GLenum error, const char *s) save_error() argument
11090 _mesa_compile_error(struct gl_context *ctx, GLenum error, const char *s) _mesa_compile_error() argument
11103 _mesa_get_list(struct gl_context *ctx, GLuint list, struct gl_display_list **dlist, bool locked) _mesa_get_list() argument
11131 execute_list(struct gl_context *ctx, GLuint list) execute_list() argument
13527 replace_op_vertex_list_recursively(struct gl_context *ctx, struct gl_display_list *dlist) replace_op_vertex_list_recursively() argument
13783 render_bitmap_atlas(struct gl_context *ctx, GLsizei n, GLenum type, const void *lists) render_bitmap_atlas() argument
13984 _mesa_initialize_save_table(const struct gl_context *ctx) _mesa_initialize_save_table() argument
14013 print_list(struct gl_context *ctx, GLuint list, const char *fname) print_list() argument
14313 _mesa_glthread_execute_list(struct gl_context *ctx, GLuint list) _mesa_glthread_execute_list() argument
14394 _mesa_glthread_should_execute_list(struct gl_context *ctx, struct gl_display_list *dlist) _mesa_glthread_should_execute_list() argument
14456 _mesa_init_display_list(struct gl_context *ctx) _mesa_init_display_list() argument
14472 _mesa_install_save_vtxfmt(struct gl_context *ctx) _mesa_install_save_vtxfmt() argument
[all...]
/third_party/node/deps/openssl/openssl/crypto/ct/
H A Dct_policy.c31 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new_ex() local
33 if (ctx == NULL) { in CT_POLICY_EVAL_CTX_new_ex()
38 ctx->libctx = libctx; in CT_POLICY_EVAL_CTX_new_ex()
40 ctx->propq = OPENSSL_strdup(propq); in CT_POLICY_EVAL_CTX_new_ex()
41 if (ctx->propq == NULL) { in CT_POLICY_EVAL_CTX_new_ex()
43 OPENSSL_free(ctx); in CT_POLICY_EVAL_CTX_new_ex()
49 ctx->epoch_time_in_ms = (uint64_t)(time(NULL) + SCT_CLOCK_DRIFT_TOLERANCE) * in CT_POLICY_EVAL_CTX_new_ex()
52 return ctx; in CT_POLICY_EVAL_CTX_new_ex()
60 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_free() argument
62 if (ctx in CT_POLICY_EVAL_CTX_free()
70 CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) CT_POLICY_EVAL_CTX_set1_cert() argument
78 CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) CT_POLICY_EVAL_CTX_set1_issuer() argument
86 CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, CTLOG_STORE *log_store) CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE() argument
92 CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) CT_POLICY_EVAL_CTX_set_time() argument
97 CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_cert() argument
102 CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_issuer() argument
107 CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_log_store() argument
112 CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get_time() argument
[all...]
/third_party/optimized-routines/math/test/rtest/
H A Dwrappers.h24 typedef void (*wrapperfunc)(wrapperctx *ctx);
48 void wrapper_init(wrapperctx *ctx);
51 void wrapper_op_real(wrapperctx *ctx, const mpfr_t r,
55 void wrapper_op_complex(wrapperctx *ctx, const mpc_t c,
59 void wrapper_result_real(wrapperctx *ctx, mpfr_t r,
64 void wrapper_result_complex(wrapperctx *ctx, mpc_t c,
67 int wrapper_run(wrapperctx *ctx, wrapperfunc wrappers[MAXWRAPPERS]);
75 mpfr_srcptr wrapper_get_mpfr(wrapperctx *ctx, int op);
76 const uint32 *wrapper_get_ieee(wrapperctx *ctx, int op);
78 mpc_srcptr wrapper_get_mpc(wrapperctx *ctx, in
[all...]
/third_party/openssl/crypto/ct/
H A Dct_policy.c31 CT_POLICY_EVAL_CTX *ctx = OPENSSL_zalloc(sizeof(CT_POLICY_EVAL_CTX)); in CT_POLICY_EVAL_CTX_new_ex() local
33 if (ctx == NULL) { in CT_POLICY_EVAL_CTX_new_ex()
38 ctx->libctx = libctx; in CT_POLICY_EVAL_CTX_new_ex()
40 ctx->propq = OPENSSL_strdup(propq); in CT_POLICY_EVAL_CTX_new_ex()
41 if (ctx->propq == NULL) { in CT_POLICY_EVAL_CTX_new_ex()
43 OPENSSL_free(ctx); in CT_POLICY_EVAL_CTX_new_ex()
49 ctx->epoch_time_in_ms = (uint64_t)(time(NULL) + SCT_CLOCK_DRIFT_TOLERANCE) * in CT_POLICY_EVAL_CTX_new_ex()
52 return ctx; in CT_POLICY_EVAL_CTX_new_ex()
60 void CT_POLICY_EVAL_CTX_free(CT_POLICY_EVAL_CTX *ctx) in CT_POLICY_EVAL_CTX_free() argument
62 if (ctx in CT_POLICY_EVAL_CTX_free()
70 CT_POLICY_EVAL_CTX_set1_cert(CT_POLICY_EVAL_CTX *ctx, X509 *cert) CT_POLICY_EVAL_CTX_set1_cert() argument
78 CT_POLICY_EVAL_CTX_set1_issuer(CT_POLICY_EVAL_CTX *ctx, X509 *issuer) CT_POLICY_EVAL_CTX_set1_issuer() argument
86 CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE(CT_POLICY_EVAL_CTX *ctx, CTLOG_STORE *log_store) CT_POLICY_EVAL_CTX_set_shared_CTLOG_STORE() argument
92 CT_POLICY_EVAL_CTX_set_time(CT_POLICY_EVAL_CTX *ctx, uint64_t time_in_ms) CT_POLICY_EVAL_CTX_set_time() argument
97 CT_POLICY_EVAL_CTX_get0_cert(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_cert() argument
102 CT_POLICY_EVAL_CTX_get0_issuer(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_issuer() argument
107 CT_POLICY_EVAL_CTX_get0_log_store(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get0_log_store() argument
112 CT_POLICY_EVAL_CTX_get_time(const CT_POLICY_EVAL_CTX *ctx) CT_POLICY_EVAL_CTX_get_time() argument
[all...]
/third_party/mesa3d/src/mesa/vbo/
H A Dvbo_save_draw.c45 copy_vao(struct gl_context *ctx, const struct gl_vertex_array_object *vao, in copy_vao() argument
49 struct vbo_context *vbo = vbo_context(ctx); in copy_vao()
79 ctx->NewState |= _NEW_FF_VERT_PROGRAM; in copy_vao()
81 ctx->NewState |= state; in copy_vao()
82 ctx->PopAttribState |= pop_state; in copy_vao()
98 playback_copy_to_current(struct gl_context *ctx, in playback_copy_to_current() argument
108 copy_vao(ctx, node->cold->VAO[VP_MODE_SHADER], ~VERT_BIT_POS & VERT_BIT_ALL, in playback_copy_to_current()
111 copy_vao(ctx, node->cold->VAO[VP_MODE_FF], VERT_BIT_MAT_ALL, in playback_copy_to_current()
115 if (color0_changed && ctx->Light.ColorMaterialEnabled) { in playback_copy_to_current()
116 _mesa_update_color_material(ctx, ct in playback_copy_to_current()
136 bind_vertex_list(struct gl_context *ctx, const struct vbo_save_vertex_list *node) bind_vertex_list() argument
145 loopback_vertex_list(struct gl_context *ctx, const struct vbo_save_vertex_list *list) loopback_vertex_list() argument
161 vbo_save_playback_vertex_list_loopback(struct gl_context *ctx, void *data) vbo_save_playback_vertex_list_loopback() argument
188 vbo_save_playback_vertex_list_gallium(struct gl_context *ctx, const struct vbo_save_vertex_list *node, bool copy_to_current) vbo_save_playback_vertex_list_gallium() argument
299 vbo_save_playback_vertex_list(struct gl_context *ctx, void *data, bool copy_to_current) vbo_save_playback_vertex_list() argument
[all...]
/third_party/mesa3d/src/amd/llvm/
H A Dac_llvm_build.h147 void ac_llvm_context_init(struct ac_llvm_context *ctx, struct ac_llvm_compiler *compiler,
153 void ac_llvm_context_dispose(struct ac_llvm_context *ctx);
157 int ac_get_elem_bits(struct ac_llvm_context *ctx, LLVMTypeRef type);
163 LLVMTypeRef ac_to_integer_type(struct ac_llvm_context *ctx, LLVMTypeRef t);
164 LLVMValueRef ac_to_integer(struct ac_llvm_context *ctx, LLVMValueRef v);
165 LLVMValueRef ac_to_integer_or_pointer(struct ac_llvm_context *ctx, LLVMValueRef v);
166 LLVMTypeRef ac_to_float_type(struct ac_llvm_context *ctx, LLVMTypeRef t);
167 LLVMValueRef ac_to_float(struct ac_llvm_context *ctx, LLVMValueRef v);
169 LLVMValueRef ac_build_intrinsic(struct ac_llvm_context *ctx, const char *name,
175 LLVMValueRef ac_build_phi(struct ac_llvm_context *ctx, LLVMTypeRe
578 ac_get_arg(struct ac_llvm_context *ctx, struct ac_arg arg) ac_get_arg() argument
[all...]
/third_party/libinput/test/
H A Dtest-quirks.c91 struct quirks_context *ctx; in START_TEST() local
93 ctx = quirks_init_subsystem("/does-not-exist", in START_TEST()
98 ck_assert(ctx == NULL); in START_TEST()
104 struct quirks_context *ctx; in START_TEST() local
107 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
112 ck_assert(ctx == NULL); in START_TEST()
120 struct quirks_context *ctx; in START_TEST() local
124 ctx = quirks_init_subsystem(dd.dirname, in START_TEST()
129 ck_assert(ctx == NULL); in START_TEST()
136 struct quirks_context *ctx; in START_TEST() local
152 struct quirks_context *ctx; START_TEST() local
170 struct quirks_context *ctx; START_TEST() local
188 struct quirks_context *ctx; START_TEST() local
208 struct quirks_context *ctx; START_TEST() local
230 struct quirks_context *ctx; START_TEST() local
251 struct quirks_context *ctx; START_TEST() local
270 struct quirks_context *ctx; START_TEST() local
289 struct quirks_context *ctx; START_TEST() local
308 struct quirks_context *ctx; START_TEST() local
327 struct quirks_context *ctx; START_TEST() local
346 struct quirks_context *ctx; START_TEST() local
365 struct quirks_context *ctx; START_TEST() local
384 struct quirks_context *ctx; START_TEST() local
404 struct quirks_context *ctx; START_TEST() local
426 struct quirks_context *ctx; START_TEST() local
446 struct quirks_context *ctx; START_TEST() local
466 struct quirks_context *ctx; START_TEST() local
502 struct quirks_context *ctx; START_TEST() local
521 struct quirks_context *ctx; START_TEST() local
549 struct quirks_context *ctx; START_TEST() local
581 struct quirks_context *ctx; START_TEST() local
609 struct quirks_context *ctx; START_TEST() local
641 struct quirks_context *ctx; START_TEST() local
669 struct quirks_context *ctx; START_TEST() local
701 struct quirks_context *ctx; START_TEST() local
741 struct quirks_context *ctx; START_TEST() local
764 struct quirks_context *ctx; START_TEST() local
808 struct quirks_context *ctx; START_TEST() local
837 struct quirks_context *ctx; START_TEST() local
861 struct quirks_context *ctx; START_TEST() local
912 struct quirks_context *ctx; test_attr_parse() local
1271 struct quirks_context *ctx; START_TEST() local
1304 struct quirks_context *ctx; START_TEST() local
1337 struct quirks_context *ctx; START_TEST() local
1475 struct quirks_context *ctx, *ctx2; START_TEST() local
[all...]
/third_party/ffmpeg/libavcodec/
H A Ddds.c114 DDSContext *ctx = avctx->priv_data; in parse_pixel_format() local
115 GetByteContext *gbc = &ctx->gbc; in parse_pixel_format()
136 ctx->compressed = flags & DDPF_FOURCC; in parse_pixel_format()
137 ctx->paletted = flags & DDPF_PALETTE; in parse_pixel_format()
141 if (ctx->compressed && ctx->paletted) { in parse_pixel_format()
144 ctx->paletted = 0; in parse_pixel_format()
147 bpp = ctx->bpp = bytestream2_get_le32(gbc); // rgbbitcount in parse_pixel_format()
164 if (ctx->compressed) in parse_pixel_format()
167 if (ctx in parse_pixel_format()
444 DDSContext *ctx = avctx->priv_data; run_postproc() local
571 DDSContext *ctx = avctx->priv_data; dds_decode() local
[all...]
/third_party/mbedtls/library/
H A Dentropy.c27 void mbedtls_entropy_init(mbedtls_entropy_context *ctx) in mbedtls_entropy_init() argument
29 ctx->source_count = 0; in mbedtls_entropy_init()
30 memset(ctx->source, 0, sizeof(ctx->source)); in mbedtls_entropy_init()
33 mbedtls_mutex_init(&ctx->mutex); in mbedtls_entropy_init()
36 ctx->accumulator_started = 0; in mbedtls_entropy_init()
37 mbedtls_md_init(&ctx->accumulator); in mbedtls_entropy_init()
44 mbedtls_entropy_add_source(ctx, mbedtls_platform_entropy_poll, NULL, in mbedtls_entropy_init()
49 mbedtls_entropy_add_source(ctx, mbedtls_hardware_poll, NULL, in mbedtls_entropy_init()
54 mbedtls_entropy_add_source(ctx, mbedtls_nv_seed_pol in mbedtls_entropy_init()
62 mbedtls_entropy_free(mbedtls_entropy_context *ctx) mbedtls_entropy_free() argument
82 mbedtls_entropy_add_source(mbedtls_entropy_context *ctx, mbedtls_entropy_f_source_ptr f_source, void *p_source, size_t threshold, int strong) mbedtls_entropy_add_source() argument
120 entropy_update(mbedtls_entropy_context *ctx, unsigned char source_id, const unsigned char *data, size_t len) entropy_update() argument
169 mbedtls_entropy_update_manual(mbedtls_entropy_context *ctx, const unsigned char *data, size_t len) mbedtls_entropy_update_manual() argument
194 entropy_gather_internal(mbedtls_entropy_context *ctx) entropy_gather_internal() argument
245 mbedtls_entropy_gather(mbedtls_entropy_context *ctx) mbedtls_entropy_gather() argument
270 mbedtls_entropy_context *ctx = (mbedtls_entropy_context *) data; mbedtls_entropy_func() local
379 mbedtls_entropy_update_nv_seed(mbedtls_entropy_context *ctx) mbedtls_entropy_update_nv_seed() argument
402 mbedtls_entropy_write_seed_file(mbedtls_entropy_context *ctx, const char *path) mbedtls_entropy_write_seed_file() argument
438 mbedtls_entropy_update_seed_file(mbedtls_entropy_context *ctx, const char *path) mbedtls_entropy_update_seed_file() argument
602 mbedtls_entropy_context ctx; mbedtls_entropy_self_test() local
[all...]
H A Dpsa_crypto_hash.c32 mbedtls_md5_free(&operation->ctx.md5); in mbedtls_psa_hash_abort()
37 mbedtls_ripemd160_free(&operation->ctx.ripemd160); in mbedtls_psa_hash_abort()
42 mbedtls_sha1_free(&operation->ctx.sha1); in mbedtls_psa_hash_abort()
47 mbedtls_sha256_free(&operation->ctx.sha256); in mbedtls_psa_hash_abort()
52 mbedtls_sha256_free(&operation->ctx.sha256); in mbedtls_psa_hash_abort()
57 mbedtls_sha512_free(&operation->ctx.sha512); in mbedtls_psa_hash_abort()
62 mbedtls_sha512_free(&operation->ctx.sha512); in mbedtls_psa_hash_abort()
81 mbedtls_sha3_free(&operation->ctx.sha3); in mbedtls_psa_hash_abort()
105 mbedtls_md5_init(&operation->ctx.md5); in mbedtls_psa_hash_setup()
106 ret = mbedtls_md5_starts(&operation->ctx in mbedtls_psa_hash_setup()
[all...]
/third_party/curl/lib/
H A Dcf-socket.c800 static void cf_socket_ctx_init(struct cf_socket_ctx *ctx, in cf_socket_ctx_init() argument
804 memset(ctx, 0, sizeof(*ctx)); in cf_socket_ctx_init()
805 ctx->sock = CURL_SOCKET_BAD; in cf_socket_ctx_init()
806 ctx->transport = transport; in cf_socket_ctx_init()
807 Curl_sock_assign_addr(&ctx->addr, ai, transport); in cf_socket_ctx_init()
808 Curl_bufq_init(&ctx->recvbuf, NW_RECV_CHUNK_SIZE, NW_RECV_CHUNKS); in cf_socket_ctx_init()
815 ctx->wblock_percent = (int)l; in cf_socket_ctx_init()
821 ctx->wpartial_percent = (int)l; in cf_socket_ctx_init()
827 ctx in cf_socket_ctx_init()
849 struct cf_socket_ctx *ctx = rctx->cf->ctx; nw_in_read() local
890 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_close() local
913 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_destroy() local
925 struct cf_socket_ctx *ctx = cf->ctx; set_local_ip() local
960 struct cf_socket_ctx *ctx = cf->ctx; set_remote_ip() local
979 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_open() local
1082 struct cf_socket_ctx *ctx = cf->ctx; do_connect() local
1137 struct cf_socket_ctx *ctx = cf->ctx; cf_tcp_connect() local
1246 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_adjust_pollset() local
1263 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_data_pending() local
1277 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_send() local
1355 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_recv() local
1439 struct cf_socket_ctx *ctx = cf->ctx; conn_set_primary_ip() local
1448 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_active() local
1474 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_cntrl() local
1496 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_conn_is_alive() local
1533 struct cf_socket_ctx *ctx = cf->ctx; cf_socket_query() local
1598 struct cf_socket_ctx *ctx = NULL; Curl_cf_tcp_create() local
1627 struct cf_socket_ctx *ctx = cf->ctx; cf_udp_setup_quic() local
1676 struct cf_socket_ctx *ctx = cf->ctx; cf_udp_connect() local
1735 struct cf_socket_ctx *ctx = NULL; Curl_cf_udp_create() local
1786 struct cf_socket_ctx *ctx = NULL; Curl_cf_unix_create() local
1850 struct cf_socket_ctx *ctx = NULL; Curl_conn_tcp_listen_set() local
1888 struct cf_socket_ctx *ctx = cf->ctx; set_accepted_remote_ip() local
1922 struct cf_socket_ctx *ctx = NULL; Curl_conn_tcp_accepted_set() local
1965 struct cf_socket_ctx *ctx = cf->ctx; Curl_cf_socket_peek() local
[all...]
/base/startup/init/services/init/
H A Dinit_common_cmds.c77 char *BuildStringFromCmdArg(const struct CmdArgs *ctx, int startIndex) in BuildStringFromCmdArg() argument
79 INIT_ERROR_CHECK(ctx != NULL, return NULL, "Failed to get cmd args "); in BuildStringFromCmdArg()
84 for (int i = startIndex; i < ctx->argc; i++) { // save opt in BuildStringFromCmdArg()
85 if (ctx->argv[i] == NULL) { in BuildStringFromCmdArg()
88 int len = snprintf_s(options + curr, OPTIONS_SIZE - curr, OPTIONS_SIZE - 1 - curr, "%s ", ctx->argv[i]); in BuildStringFromCmdArg()
108 struct CmdArgs *ctx = (struct CmdArgs *)calloc(1, sizeof(struct CmdArgs) + sizeof(char *) * (argsCount + 1)); in GetCmdArg() local
109 INIT_ERROR_CHECK(ctx != NULL, return NULL, "Failed to calloc memory for arg"); in GetCmdArg()
110 ctx->argc = 0; in GetCmdArg()
124 ctx->argv[ctx in GetCmdArg()
157 const struct CmdArgs *ctx = GetCmdArg(cmdContent, " ", cmd->maxArg); ExecCmd() local
168 SetProcName(const struct CmdArgs *ctx, const char *procFile) SetProcName() argument
180 DoSetDomainname(const struct CmdArgs *ctx) DoSetDomainname() argument
185 DoSetHostname(const struct CmdArgs *ctx) DoSetHostname() argument
190 DoSleep(const struct CmdArgs *ctx) DoSleep() argument
203 DoWait(const struct CmdArgs *ctx) DoWait() argument
220 DoStart(const struct CmdArgs *ctx) DoStart() argument
226 DoStop(const struct CmdArgs *ctx) DoStop() argument
233 DoReset(const struct CmdArgs *ctx) DoReset() argument
259 DoCopy(const struct CmdArgs *ctx) DoCopy() argument
324 DoChown(const struct CmdArgs *ctx) DoChown() argument
335 DoMkDir(const struct CmdArgs *ctx) DoMkDir() argument
382 DoChmod(const struct CmdArgs *ctx) DoChmod() argument
435 DoMount(const struct CmdArgs *ctx) DoMount() argument
475 DoWriteWithMultiArgs(const struct CmdArgs *ctx, int fd) DoWriteWithMultiArgs() argument
491 DoWrite(const struct CmdArgs *ctx) DoWrite() argument
516 DoRmdir(const struct CmdArgs *ctx) DoRmdir() argument
526 DoRebootCmd(const struct CmdArgs *ctx) DoRebootCmd() argument
532 DoSetrlimit(const struct CmdArgs *ctx) DoSetrlimit() argument
567 DoRm(const struct CmdArgs *ctx) DoRm() argument
574 DoExport(const struct CmdArgs *ctx) DoExport() argument
[all...]
/third_party/rust/crates/bindgen/bindgen/codegen/
H A Dmod.rs90 ctx: &BindgenContext, in top_level_path()
95 if ctx.options().enable_cxx_namespaces { in top_level_path()
96 for _ in 0..item.codegen_depth(ctx) { in top_level_path()
105 ctx: &BindgenContext, in root_import()
108 assert!(ctx.options().enable_cxx_namespaces, "Somebody messed it up"); in root_import()
111 let mut path = top_level_path(ctx, module); in root_import()
113 let root = ctx.root_module().canonical_name(ctx); in root_import()
114 let root_ident = ctx.rust_ident(root); in root_import()
142 ctx in derives_of_item()
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/
H A Dcipher_cts.c100 static size_t cts128_cs1_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs1_encrypt() argument
108 if (!ctx->hw->cipher(ctx, out, in, len)) in cts128_cs1_encrypt()
119 if (!ctx->hw->cipher(ctx, out - CTS_BLOCK_SIZE + residue, tmp_in.c, in cts128_cs1_encrypt()
134 static size_t cts128_cs1_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, in cts128_cs1_decrypt() argument
143 if (!ctx->hw->cipher(ctx, out, in, len)) in cts128_cs1_decrypt()
150 if (!ctx->hw->cipher(ctx, ou in cts128_cs1_decrypt()
196 cts128_cs3_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs3_encrypt() argument
236 cts128_cs3_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs3_decrypt() argument
302 cts128_cs2_encrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs2_encrypt() argument
315 cts128_cs2_decrypt(PROV_CIPHER_CTX *ctx, const unsigned char *in, unsigned char *out, size_t len) cts128_cs2_decrypt() argument
332 PROV_CIPHER_CTX *ctx = (PROV_CIPHER_CTX *)vctx; ossl_cipher_cbc_cts_block_update() local
[all...]
/third_party/node/deps/openssl/openssl/providers/implementations/digests/
H A Dsha3_prov.c57 /* The newctx() handles most of the ctx fixed setup. */ in keccak_init()
70 KECCAK1600_CTX *ctx = vctx; in keccak_update() local
71 const size_t bsz = ctx->block_size; in keccak_update()
78 if ((num = ctx->bufsz) != 0) { in keccak_update()
83 memcpy(ctx->buf + num, inp, len); in keccak_update()
84 ctx->bufsz += len; in keccak_update()
88 memcpy(ctx->buf + num, inp, rem); in keccak_update()
92 ctx->meth.absorb(ctx, ctx in keccak_update()
109 KECCAK1600_CTX *ctx = vctx; keccak_final() local
125 KECCAK1600_CTX *ctx = vctx; generic_sha3_absorb() local
152 KECCAK1600_CTX *ctx = vctx; s390x_sha3_absorb() local
161 KECCAK1600_CTX *ctx = vctx; s390x_sha3_final() local
172 KECCAK1600_CTX *ctx = vctx; s390x_shake_final() local
256 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; keccak_freectx() local
261 keccak_dupctx(void *ctx) keccak_dupctx() argument
276 shake_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) shake_settable_ctx_params() argument
285 KECCAK1600_CTX *ctx = (KECCAK1600_CTX *)vctx; shake_set_ctx_params() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbf_lbuf.c58 BIO_LINEBUFFER_CTX *ctx; in linebuffer_new() local
60 if ((ctx = OPENSSL_malloc(sizeof(*ctx))) == NULL) { in linebuffer_new()
64 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); in linebuffer_new()
65 if (ctx->obuf == NULL) { in linebuffer_new()
67 OPENSSL_free(ctx); in linebuffer_new()
70 ctx->obuf_size = DEFAULT_LINEBUFFER_SIZE; in linebuffer_new()
71 ctx->obuf_len = 0; in linebuffer_new()
74 bi->ptr = (char *)ctx; in linebuffer_new()
111 BIO_LINEBUFFER_CTX *ctx; in linebuffer_write() local
206 BIO_LINEBUFFER_CTX *ctx; linebuffer_ctrl() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/cmp/
H A Dcmp_protect.c26 * using the credentials, library context, and property criteria in the ctx.
30 ASN1_BIT_STRING *ossl_cmp_calc_protection(const OSSL_CMP_CTX *ctx, in ossl_cmp_calc_protection() argument
39 if (!ossl_assert(ctx != NULL && msg != NULL)) in ossl_cmp_calc_protection()
62 if (ctx->secretValue == NULL) { in ossl_cmp_calc_protection()
86 if (!OSSL_CRMF_pbm_new(ctx->libctx, ctx->propq, in ossl_cmp_calc_protection()
88 ctx->secretValue->data, ctx->secretValue->length, in ossl_cmp_calc_protection()
110 if (ctx->pkey == NULL) { in ossl_cmp_calc_protection()
124 NULL, prot, &prot_part, NULL, ctx in ossl_cmp_calc_protection()
133 ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) ossl_cmp_msg_add_extraCerts() argument
188 set_pbmac_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) set_pbmac_algor() argument
226 set_sig_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) set_sig_algor() argument
247 set_senderKID(const OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg, const ASN1_OCTET_STRING *id) set_senderKID() argument
256 ossl_cmp_msg_protect(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) ossl_cmp_msg_protect() argument
[all...]
/third_party/openssl/crypto/bio/
H A Dbf_lbuf.c58 BIO_LINEBUFFER_CTX *ctx; in linebuffer_new() local
60 if ((ctx = OPENSSL_malloc(sizeof(*ctx))) == NULL) { in linebuffer_new()
64 ctx->obuf = OPENSSL_malloc(DEFAULT_LINEBUFFER_SIZE); in linebuffer_new()
65 if (ctx->obuf == NULL) { in linebuffer_new()
67 OPENSSL_free(ctx); in linebuffer_new()
70 ctx->obuf_size = DEFAULT_LINEBUFFER_SIZE; in linebuffer_new()
71 ctx->obuf_len = 0; in linebuffer_new()
74 bi->ptr = (char *)ctx; in linebuffer_new()
111 BIO_LINEBUFFER_CTX *ctx; in linebuffer_write() local
206 BIO_LINEBUFFER_CTX *ctx; linebuffer_ctrl() local
[all...]
/third_party/openssl/crypto/cmp/
H A Dcmp_protect.c26 * using the credentials, library context, and property criteria in the ctx.
30 ASN1_BIT_STRING *ossl_cmp_calc_protection(const OSSL_CMP_CTX *ctx, in ossl_cmp_calc_protection() argument
39 if (!ossl_assert(ctx != NULL && msg != NULL)) in ossl_cmp_calc_protection()
62 if (ctx->secretValue == NULL) { in ossl_cmp_calc_protection()
86 if (!OSSL_CRMF_pbm_new(ctx->libctx, ctx->propq, in ossl_cmp_calc_protection()
88 ctx->secretValue->data, ctx->secretValue->length, in ossl_cmp_calc_protection()
110 if (ctx->pkey == NULL) { in ossl_cmp_calc_protection()
124 NULL, prot, &prot_part, NULL, ctx in ossl_cmp_calc_protection()
133 ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) ossl_cmp_msg_add_extraCerts() argument
188 set_pbmac_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) set_pbmac_algor() argument
226 set_sig_algor(const OSSL_CMP_CTX *ctx, X509_ALGOR **alg) set_sig_algor() argument
247 set_senderKID(const OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg, const ASN1_OCTET_STRING *id) set_senderKID() argument
256 ossl_cmp_msg_protect(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) ossl_cmp_msg_protect() argument
[all...]

Completed in 24 milliseconds

1...<<11121314151617181920>>...282