/kernel/linux/linux-6.6/kernel/locking/ |
H A D | ww_mutex.h | 190 DEBUG_LOCKS_WARN_ON(ww->ctx); in ww_mutex_lock_acquired() 218 ww->ctx = ww_ctx; in ww_mutex_lock_acquired() 273 * already (ctx->acquired > 0), because __ww_mutex_add_waiter() and 374 * After acquiring lock with fastpath, where we do not hold wait_lock, set ctx 378 ww_mutex_set_context_fastpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) in ww_mutex_set_context_fastpath() argument 380 ww_mutex_lock_acquired(lock, ctx); in ww_mutex_set_context_fastpath() 383 * The lock->ctx update should be visible on all cores before in ww_mutex_set_context_fastpath() 392 * [W] ww->ctx = ctx [W] MUTEX_FLAG_WAITERS in ww_mutex_set_context_fastpath() 394 * [R] MUTEX_FLAG_WAITERS [R] ww->ctx in ww_mutex_set_context_fastpath() 441 __ww_mutex_check_kill(struct MUTEX *lock, struct MUTEX_WAITER *waiter, struct ww_acquire_ctx *ctx) __ww_mutex_check_kill() argument [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | lrw.c | 71 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(parent); in lrw_setkey() local 72 struct crypto_skcipher *child = ctx->child; in lrw_setkey() 85 if (ctx->table) in lrw_setkey() 86 gf128mul_free_64k(ctx->table); in lrw_setkey() 89 ctx->table = gf128mul_init_64k_bbe((be128 *)tweak); in lrw_setkey() 90 if (!ctx->table) in lrw_setkey() 96 ctx->mulinc[i] = tmp; in lrw_setkey() 97 gf128mul_64k_bbe(&ctx->mulinc[i], ctx->table); in lrw_setkey() 144 const struct lrw_tfm_ctx *ctx in lrw_xor_tweak() local 224 const struct lrw_tfm_ctx *ctx = lrw_init_crypt() local 269 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); lrw_init_tfm() local 286 struct lrw_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); lrw_exit_tfm() local [all...] |
/third_party/ffmpeg/tests/api/ |
H A D | api-seek-test.c | 76 AVCodecContext *ctx, AVPacket *pkt, AVFrame *fr, in compute_crc_of_packets() 85 byte_buffer_size = av_image_get_buffer_size(ctx->pix_fmt, ctx->width, ctx->height, 16); in compute_crc_of_packets() 99 avcodec_flush_buffers(ctx); in compute_crc_of_packets() 110 result = avcodec_send_packet(ctx, NULL); in compute_crc_of_packets() 116 result = avcodec_send_packet(ctx, pkt); in compute_crc_of_packets() 127 result = avcodec_receive_frame(ctx, fr); in compute_crc_of_packets() 140 ctx->pix_fmt, ctx in compute_crc_of_packets() 75 compute_crc_of_packets(AVFormatContext *fmt_ctx, int video_stream, AVCodecContext *ctx, AVPacket *pkt, AVFrame *fr, uint64_t ts_start, uint64_t ts_end, int no_seeking) compute_crc_of_packets() argument 188 AVCodecContext *ctx= NULL; seek_test() local [all...] |
/third_party/mesa3d/src/gallium/frontends/va/ |
H A D | config.c | 44 vlVaQueryConfigProfiles(VADriverContextP ctx, VAProfile *profile_list, int *num_profiles) in vlVaQueryConfigProfiles() argument 50 if (!ctx) in vlVaQueryConfigProfiles() 55 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryConfigProfiles() 75 vlVaQueryConfigEntrypoints(VADriverContextP ctx, VAProfile profile, in vlVaQueryConfigEntrypoints() argument 81 if (!ctx) in vlVaQueryConfigEntrypoints() 97 pscreen = VL_VA_PSCREEN(ctx); in vlVaQueryConfigEntrypoints() 107 assert(*num_entrypoints <= ctx->max_entrypoints); in vlVaQueryConfigEntrypoints() 113 vlVaGetConfigAttributes(VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, in vlVaGetConfigAttributes() argument 119 if (!ctx) in vlVaGetConfigAttributes() 122 pscreen = VL_VA_PSCREEN(ctx); in vlVaGetConfigAttributes() 235 vlVaCreateConfig(VADriverContextP ctx, VAProfile profile, VAEntrypoint entrypoint, VAConfigAttrib *attrib_list, int num_attribs, VAConfigID *config_id) vlVaCreateConfig() argument 385 vlVaDestroyConfig(VADriverContextP ctx, VAConfigID config_id) vlVaDestroyConfig() argument 414 vlVaQueryConfigAttributes(VADriverContextP ctx, VAConfigID config_id, VAProfile *profile, VAEntrypoint *entrypoint, VAConfigAttrib *attrib_list, int *num_attribs) vlVaQueryConfigAttributes() argument [all...] |
/third_party/mesa3d/src/mesa/main/ |
H A D | extensions.c | 91 * Overrides extensions in \c ctx based on the values in 95 _mesa_override_extensions(struct gl_context *ctx) in _mesa_override_extensions() argument 102 GLboolean *ctx_ext = (GLboolean*)&ctx->Extensions; in _mesa_override_extensions() 317 _mesa_extension_supported(const struct gl_context *ctx, extension_index i) in _mesa_extension_supported() argument 319 const bool *base = (bool *) &ctx->Extensions; in _mesa_extension_supported() 322 return (ctx->Version >= ext->version[ctx->API]) && base[ext->offset]; in _mesa_extension_supported() 355 _mesa_make_extension_string(struct gl_context *ctx) in _mesa_make_extension_string() argument 374 _mesa_debug(ctx, "Note: limiting GL extensions to %u or earlier\n", in _mesa_make_extension_string() 385 _mesa_extension_supported(ctx, in _mesa_make_extension_string() 438 _mesa_get_extension_count(struct gl_context *ctx) _mesa_get_extension_count() argument 462 _mesa_get_enabled_extension(struct gl_context *ctx, GLuint index) _mesa_get_enabled_extension() argument [all...] |
/third_party/node/deps/openssl/openssl/crypto/bn/ |
H A D | bn_mod.c | 13 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() argument 25 if (!(BN_mod(r, m, d, ctx))) in BN_nnmod() 34 BN_CTX *ctx) in BN_mod_add() 38 return BN_nnmod(r, r, m, ctx); in BN_mod_add() 116 BN_CTX *ctx) in BN_mod_sub() 120 return BN_nnmod(r, r, m, ctx); in BN_mod_sub() 208 BN_CTX *ctx) in BN_mod_mul() 217 BN_CTX_start(ctx); in BN_mod_mul() 218 if ((t = BN_CTX_get(ctx)) == NULL) in BN_mod_mul() 221 if (!BN_sqr(t, a, ctx)) in BN_mod_mul() 33 BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) BN_mod_add() argument 115 BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) BN_mod_sub() argument 207 BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) BN_mod_mul() argument 236 BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) BN_mod_sqr() argument 244 BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) BN_mod_lshift1() argument 266 BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx) BN_mod_lshift() argument [all...] |
/third_party/node/deps/openssl/openssl/providers/implementations/macs/ |
H A D | hmac_prov.c | 50 HMAC_CTX *ctx; /* HMAC context */ member 81 || (macctx->ctx = HMAC_CTX_new()) == NULL) { in hmac_new() 95 HMAC_CTX_free(macctx->ctx); in hmac_free() 106 HMAC_CTX *ctx; in hmac_dup() local 114 ctx = dst->ctx; in hmac_dup() 116 dst->ctx = ctx; in hmac_dup() 120 if (!HMAC_CTX_copy(dst->ctx, src->ctx) in hmac_dup() 249 hmac_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) hmac_gettable_ctx_params() argument 280 hmac_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) hmac_settable_ctx_params() argument 309 OSSL_LIB_CTX *ctx = PROV_LIBCTX_OF(macctx->provctx); hmac_set_ctx_params() local [all...] |
/third_party/rust/crates/bindgen/bindgen/ir/analysis/ |
H A D | template_params.rs | 149 pub struct UsedTemplateParameters<'ctx> { 150 ctx: &'ctx BindgenContext, 164 impl<'ctx> UsedTemplateParameters<'ctx> { 247 .resolve(self.ctx) in constrain_instantiation_of_blocklisted_template() 278 let decl = self.ctx.resolve_type(instantiation.template_definition()); in constrain_instantiation() 281 let params = decl.self_template_params(self.ctx); in constrain_instantiation() 307 .resolve(self.ctx) in constrain_instantiation() 338 self.ctx, in constrain_join() [all...] |
/third_party/openssl/crypto/bn/ |
H A D | bn_mod.c | 13 int BN_nnmod(BIGNUM *r, const BIGNUM *m, const BIGNUM *d, BN_CTX *ctx) in BN_nnmod() argument 20 if (!(BN_mod(r, m, d, ctx))) in BN_nnmod() 29 BN_CTX *ctx) in BN_mod_add() 33 return BN_nnmod(r, r, m, ctx); in BN_mod_add() 111 BN_CTX *ctx) in BN_mod_sub() 115 return BN_nnmod(r, r, m, ctx); in BN_mod_sub() 198 BN_CTX *ctx) in BN_mod_mul() 207 BN_CTX_start(ctx); in BN_mod_mul() 208 if ((t = BN_CTX_get(ctx)) == NULL) in BN_mod_mul() 211 if (!BN_sqr(t, a, ctx)) in BN_mod_mul() 28 BN_mod_add(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) BN_mod_add() argument 110 BN_mod_sub(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) BN_mod_sub() argument 197 BN_mod_mul(BIGNUM *r, const BIGNUM *a, const BIGNUM *b, const BIGNUM *m, BN_CTX *ctx) BN_mod_mul() argument 226 BN_mod_sqr(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) BN_mod_sqr() argument 234 BN_mod_lshift1(BIGNUM *r, const BIGNUM *a, const BIGNUM *m, BN_CTX *ctx) BN_mod_lshift1() argument 256 BN_mod_lshift(BIGNUM *r, const BIGNUM *a, int n, const BIGNUM *m, BN_CTX *ctx) BN_mod_lshift() argument [all...] |
/third_party/openssl/providers/implementations/macs/ |
H A D | hmac_prov.c | 50 HMAC_CTX *ctx; /* HMAC context */ member 81 || (macctx->ctx = HMAC_CTX_new()) == NULL) { in hmac_new() 95 HMAC_CTX_free(macctx->ctx); in hmac_free() 106 HMAC_CTX *ctx; in hmac_dup() local 114 ctx = dst->ctx; in hmac_dup() 116 dst->ctx = ctx; in hmac_dup() 120 if (!HMAC_CTX_copy(dst->ctx, src->ctx) in hmac_dup() 249 hmac_gettable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) hmac_gettable_ctx_params() argument 280 hmac_settable_ctx_params(ossl_unused void *ctx, ossl_unused void *provctx) hmac_settable_ctx_params() argument 309 OSSL_LIB_CTX *ctx = PROV_LIBCTX_OF(macctx->provctx); hmac_set_ctx_params() local [all...] |
/third_party/skia/experimental/skrive/src/reader/ |
H A D | JsonReader.cpp | 70 auto& ctx = fContextStack.back(); in readProp() local 72 if (ctx.fContainer->is<skjson::ObjectValue>()) { in readProp() 73 return static_cast<const T*>(ctx.fContainer->as<skjson::ObjectValue>()[label]); in readProp() 76 const skjson::ArrayValue* jarr = *ctx.fContainer; in readProp() 79 return ctx.fMemberIndex < jarr->size() in readProp() 80 ? static_cast<const T*>((*jarr)[ctx.fMemberIndex++]) in readProp() 147 const auto& ctx = fContextStack.back(); in currentLength() local 148 return ctx.fContainer->is<skjson::ObjectValue>() in currentLength() 149 ? ctx.fContainer->as<skjson::ObjectValue>().size() in currentLength() 150 : ctx in currentLength() 196 auto& ctx = fContextStack.back(); openObjectBlock() local 216 auto& ctx = fContextStack.back(); openArrayBlock() local [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | xts.c | 43 struct xts_tfm_ctx *ctx = crypto_skcipher_ctx(parent); in xts_setkey() local 59 tweak = ctx->tweak; in xts_setkey() 68 child = ctx->child; in xts_setkey() 161 const struct xts_tfm_ctx *ctx = in xts_cts_final() local 181 skcipher_request_set_tfm(subreq, ctx->child); in xts_cts_final() 241 const struct xts_tfm_ctx *ctx = in xts_init_crypt() local 249 skcipher_request_set_tfm(subreq, ctx->child); in xts_init_crypt() 255 crypto_cipher_encrypt_one(ctx->tweak, (u8 *)&rctx->t, req->iv); in xts_init_crypt() 298 struct xts_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); in xts_init_tfm() local 306 ctx in xts_init_tfm() 324 struct xts_tfm_ctx *ctx = crypto_skcipher_ctx(tfm); xts_exit_tfm() local 341 struct xts_instance_ctx *ctx; xts_create() local [all...] |
/kernel/linux/linux-5.10/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.c | 99 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(tfm); in create_ctx_hdr() local 121 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr() 125 if (ctx->cipher_type == AES_XTS) in create_ctx_hdr() 126 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr() 128 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr() 236 struct cvm_enc_ctx *ctx = crypto_tfm_ctx(tfm); in cvm_xts_setkey() local 244 ctx in cvm_xts_setkey() 262 cvm_validate_keylen(struct cvm_enc_ctx *ctx, u32 keylen) cvm_validate_keylen() argument 293 struct cvm_enc_ctx *ctx = crypto_tfm_ctx(tfm); cvm_setkey() local [all...] |
/kernel/linux/linux-5.10/fs/vboxsf/ |
H A D | super.c | 56 struct vboxsf_fs_context *ctx = fc->fs_private; in vboxsf_parse_param() local 68 if (ctx->nls_name || fc->purpose != FS_CONTEXT_FOR_MOUNT) { in vboxsf_parse_param() 72 ctx->nls_name = param->string; in vboxsf_parse_param() 79 ctx->o.uid = uid; in vboxsf_parse_param() 85 ctx->o.gid = gid; in vboxsf_parse_param() 88 ctx->o.ttl = msecs_to_jiffies(result.uint_32); in vboxsf_parse_param() 93 ctx->o.dmode = result.uint_32; in vboxsf_parse_param() 94 ctx->o.dmode_set = true; in vboxsf_parse_param() 99 ctx->o.fmode = result.uint_32; in vboxsf_parse_param() 100 ctx in vboxsf_parse_param() 121 struct vboxsf_fs_context *ctx = fc->fs_private; vboxsf_fill_super() local 408 struct vboxsf_fs_context *ctx = fc->fs_private; vboxsf_reconfigure() local 420 struct vboxsf_fs_context *ctx = fc->fs_private; vboxsf_free_fc() local 436 struct vboxsf_fs_context *ctx; vboxsf_init_fs_context() local [all...] |
/kernel/linux/linux-6.6/fs/vboxsf/ |
H A D | super.c | 56 struct vboxsf_fs_context *ctx = fc->fs_private; in vboxsf_parse_param() local 68 if (ctx->nls_name || fc->purpose != FS_CONTEXT_FOR_MOUNT) { in vboxsf_parse_param() 72 ctx->nls_name = param->string; in vboxsf_parse_param() 79 ctx->o.uid = uid; in vboxsf_parse_param() 85 ctx->o.gid = gid; in vboxsf_parse_param() 88 ctx->o.ttl = msecs_to_jiffies(result.uint_32); in vboxsf_parse_param() 93 ctx->o.dmode = result.uint_32; in vboxsf_parse_param() 94 ctx->o.dmode_set = true; in vboxsf_parse_param() 99 ctx->o.fmode = result.uint_32; in vboxsf_parse_param() 100 ctx in vboxsf_parse_param() 121 struct vboxsf_fs_context *ctx = fc->fs_private; vboxsf_fill_super() local 408 struct vboxsf_fs_context *ctx = fc->fs_private; vboxsf_reconfigure() local 420 struct vboxsf_fs_context *ctx = fc->fs_private; vboxsf_free_fc() local 436 struct vboxsf_fs_context *ctx; vboxsf_init_fs_context() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/cavium/cpt/ |
H A D | cptvf_algs.c | 99 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(tfm); in create_ctx_hdr() local 121 fctx->enc.enc_ctrl.e.enc_cipher = ctx->cipher_type; in create_ctx_hdr() 122 fctx->enc.enc_ctrl.e.aes_key = ctx->key_type; in create_ctx_hdr() 125 if (ctx->cipher_type == AES_XTS) in create_ctx_hdr() 126 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len * 2); in create_ctx_hdr() 128 memcpy(fctx->enc.encr_key, ctx->enc_key, ctx->key_len); in create_ctx_hdr() 235 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(cipher); in cvm_xts_setkey() local 243 ctx in cvm_xts_setkey() 261 cvm_validate_keylen(struct cvm_enc_ctx *ctx, u32 keylen) cvm_validate_keylen() argument 291 struct cvm_enc_ctx *ctx = crypto_skcipher_ctx(cipher); cvm_setkey() local [all...] |
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/ |
H A D | qat_comp_algs.c | 76 struct qat_compression_ctx *ctx = qat_req->qat_compression_ctx; in qat_comp_resubmit() local 77 struct adf_accel_dev *accel_dev = ctx->inst->accel_dev; in qat_comp_resubmit() 79 struct qat_compression_instance *inst = ctx->inst; in qat_comp_resubmit() 179 struct qat_compression_ctx *ctx = qat_req->qat_compression_ctx; in qat_comp_generic_callback() local 180 struct adf_accel_dev *accel_dev = ctx->inst->accel_dev; in qat_comp_generic_callback() 182 struct qat_compression_instance *inst = ctx->inst; in qat_comp_generic_callback() 245 if (ctx->qat_comp_callback) in qat_comp_generic_callback() 246 res = ctx->qat_comp_callback(qat_req, resp); in qat_comp_generic_callback() 267 struct qat_compression_ctx *ctx = crypto_tfm_ctx(tfm); in qat_comp_alg_init_tfm() local 276 memset(ctx, in qat_comp_alg_init_tfm() 290 struct qat_compression_ctx *ctx = crypto_tfm_ctx(tfm); qat_comp_alg_exit_tfm() local 299 struct qat_compression_ctx *ctx = crypto_tfm_ctx(tfm); qat_comp_alg_rfc1950_init_tfm() local 315 struct qat_compression_ctx *ctx = crypto_tfm_ctx(tfm); qat_comp_alg_compress_decompress() local 420 struct qat_compression_ctx *ctx = crypto_tfm_ctx(tfm); qat_comp_alg_rfc1950_decompress() local [all...] |
/third_party/ffmpeg/libavcodec/ |
H A D | extract_extradata_bsf.c | 38 int (*extract)(AVBSFContext *ctx, AVPacket *pkt, 60 static int extract_extradata_av1(AVBSFContext *ctx, AVPacket *pkt, in extract_extradata_av1() argument 66 ExtractExtradataContext *s = ctx->priv_data; in extract_extradata_av1() 72 ret = ff_av1_packet_split(&s->av1_pkt, pkt->data, pkt->size, ctx); in extract_extradata_av1() 134 static int extract_extradata_h2645(AVBSFContext *ctx, AVPacket *pkt, in extract_extradata_h2645() argument 144 ExtractExtradataContext *s = ctx->priv_data; in extract_extradata_h2645() 151 if (ctx->par_in->codec_id == AV_CODEC_ID_HEVC) { in extract_extradata_h2645() 160 ctx, 0, 0, ctx->par_in->codec_id, 1, 0); in extract_extradata_h2645() 168 if (ctx in extract_extradata_h2645() 230 extract_extradata_vc1(AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) extract_extradata_vc1() argument 265 extract_extradata_mpeg12(AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) extract_extradata_mpeg12() argument 294 extract_extradata_mpeg4(AVBSFContext *ctx, AVPacket *pkt, uint8_t **data, int *size) extract_extradata_mpeg4() argument 340 extract_extradata_init(AVBSFContext *ctx) extract_extradata_init() argument 357 extract_extradata_filter(AVBSFContext *ctx, AVPacket *pkt) extract_extradata_filter() argument 389 extract_extradata_close(AVBSFContext *ctx) extract_extradata_close() argument [all...] |
H A D | nvdec_av1.c | 47 NVDECContext *ctx = avctx->internal->hwaccel_priv_data; in nvdec_av1_start_frame() local 48 CUVIDPICPARAMS *pp = &ctx->pic_params; in nvdec_av1_start_frame() 291 NVDECContext *ctx = avctx->internal->hwaccel_priv_data; in nvdec_av1_decode_slice() local 294 ctx->nb_slices = frame_header->tile_cols * frame_header->tile_rows; in nvdec_av1_decode_slice() 296 tmp = av_fast_realloc(ctx->slice_offsets, &ctx->slice_offsets_allocated, in nvdec_av1_decode_slice() 297 ctx->nb_slices * 2 * sizeof(*ctx->slice_offsets)); in nvdec_av1_decode_slice() 301 ctx->slice_offsets = tmp; in nvdec_av1_decode_slice() 304 if (ctx in nvdec_av1_decode_slice() [all...] |
/third_party/ffmpeg/libavfilter/ |
H A D | f_select.c | 176 static av_cold int init(AVFilterContext *ctx) in init() argument 178 SelectContext *select = ctx->priv; in init() 182 var_names, NULL, NULL, NULL, NULL, 0, ctx)) < 0) { in init() 183 av_log(ctx, AV_LOG_ERROR, "Error while parsing expression '%s'\n", in init() 195 pad.type = ctx->filter->inputs[0].type; in init() 197 if ((ret = ff_append_outpad_free_name(ctx, &pad)) < 0) in init() 273 static double get_scene_score(AVFilterContext *ctx, AVFrame *frame) in get_scene_score() argument 276 SelectContext *select = ctx->priv; in get_scene_score() 328 static void select_frame(AVFilterContext *ctx, AVFrame *frame) in select_frame() argument 330 SelectContext *select = ctx in select_frame() 414 AVFilterContext *ctx = inlink->dst; filter_frame() local 432 uninit(AVFilterContext *ctx) uninit() argument 449 aselect_init(AVFilterContext *ctx) aselect_init() argument 488 query_formats(AVFilterContext *ctx) query_formats() argument 510 select_init(AVFilterContext *ctx) select_init() argument [all...] |
/third_party/mbedtls/library/ |
H A D | psa_crypto_cipher.c | 296 mbedtls_cipher_init(&operation->ctx.cipher); in psa_cipher_setup() 306 ret = mbedtls_cipher_setup(&operation->ctx.cipher, cipher_info); in psa_cipher_setup() 317 ret = mbedtls_cipher_setkey(&operation->ctx.cipher, in psa_cipher_setup() 323 ret = mbedtls_cipher_setkey(&operation->ctx.cipher, key_buffer, in psa_cipher_setup() 334 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup() 338 ret = mbedtls_cipher_set_padding_mode(&operation->ctx.cipher, in psa_cipher_setup() 391 mbedtls_cipher_set_iv(&operation->ctx.cipher, in mbedtls_psa_cipher_set_iv() 402 * \param ctx The mbedtls cipher context to use. It must have been 408 * it is stored in \p ctx for future processing. 412 * unprocessed partial block in \p ctx (wit 419 psa_cipher_update_ecb( mbedtls_cipher_context_t *ctx, const uint8_t *input, size_t input_length, uint8_t *output, size_t *output_length) psa_cipher_update_ecb() argument [all...] |
H A D | psa_crypto_aead.c | 56 mbedtls_ccm_init(&operation->ctx.ccm); in psa_aead_setup() 58 mbedtls_ccm_setkey(&operation->ctx.ccm, cipher_id, in psa_aead_setup() 76 mbedtls_gcm_init(&operation->ctx.gcm); in psa_aead_setup() 78 mbedtls_gcm_setkey(&operation->ctx.gcm, cipher_id, in psa_aead_setup() 94 mbedtls_chachapoly_init(&operation->ctx.chachapoly); in psa_aead_setup() 96 mbedtls_chachapoly_setkey(&operation->ctx.chachapoly, in psa_aead_setup() 148 mbedtls_ccm_encrypt_and_tag(&operation.ctx.ccm, in mbedtls_psa_aead_encrypt() 160 mbedtls_gcm_crypt_and_tag(&operation.ctx.gcm, in mbedtls_psa_aead_encrypt() 176 mbedtls_chachapoly_encrypt_and_tag(&operation.ctx.chachapoly, in mbedtls_psa_aead_encrypt() 259 mbedtls_ccm_auth_decrypt(&operation.ctx in mbedtls_psa_aead_decrypt() [all...] |
/third_party/node/deps/openssl/openssl/crypto/sha/asm/ |
H A D | sha512-s390x.pl | 61 $ctx="%r2"; $t2="%r2"; 255 lgr %r1,$ctx 267 stm${g} $ctx,%r15,`2*$SIZE_T`($sp) 273 $LD $A,`0*$SZ`($ctx) 274 $LD $B,`1*$SZ`($ctx) 275 $LD $C,`2*$SZ`($ctx) 276 $LD $D,`3*$SZ`($ctx) 277 $LD $E,`4*$SZ`($ctx) 278 $LD $F,`5*$SZ`($ctx) 279 $LD $G,`6*$SZ`($ctx) [all...] |
/third_party/node/deps/openssl/openssl/crypto/ec/curve448/ |
H A D | eddsa.c | 23 static c448_error_t oneshot_hash(OSSL_LIB_CTX *ctx, uint8_t *out, size_t outlen, in oneshot_hash() argument 34 shake256 = EVP_MD_fetch(ctx, "SHAKE256", propq); in oneshot_hash() 57 static c448_error_t hash_init_with_dom(OSSL_LIB_CTX *ctx, EVP_MD_CTX *hashctx, in hash_init_with_dom() argument 80 shake256 = EVP_MD_fetch(ctx, "SHAKE256", propq); in hash_init_with_dom() 99 OSSL_LIB_CTX *ctx, in ossl_c448_ed448_convert_private_key_to_x448() 106 return oneshot_hash(ctx, x, X448_PRIVATE_BYTES, ed, in ossl_c448_ed448_convert_private_key_to_x448() 112 OSSL_LIB_CTX *ctx, in ossl_c448_ed448_derive_public_key() 123 if (!oneshot_hash(ctx, secret_scalar_ser, sizeof(secret_scalar_ser), in ossl_c448_ed448_derive_public_key() 159 ossl_c448_ed448_sign(OSSL_LIB_CTX *ctx, in ossl_c448_ed448_sign() argument 185 if (!oneshot_hash(ctx, expande in ossl_c448_ed448_sign() 98 ossl_c448_ed448_convert_private_key_to_x448( OSSL_LIB_CTX *ctx, uint8_t x[X448_PRIVATE_BYTES], const uint8_t ed [EDDSA_448_PRIVATE_BYTES], const char *propq) ossl_c448_ed448_convert_private_key_to_x448() argument 111 ossl_c448_ed448_derive_public_key( OSSL_LIB_CTX *ctx, uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], const uint8_t privkey[EDDSA_448_PRIVATE_BYTES], const char *propq) ossl_c448_ed448_derive_public_key() argument 267 ossl_c448_ed448_sign_prehash( OSSL_LIB_CTX *ctx, uint8_t signature[EDDSA_448_SIGNATURE_BYTES], const uint8_t privkey[EDDSA_448_PRIVATE_BYTES], const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], const uint8_t hash[64], const uint8_t *context, size_t context_len, const char *propq) ossl_c448_ed448_sign_prehash() argument 280 ossl_c448_ed448_verify( OSSL_LIB_CTX *ctx, const uint8_t signature[EDDSA_448_SIGNATURE_BYTES], const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], const uint8_t *message, size_t message_len, uint8_t prehashed, const uint8_t *context, uint8_t context_len, const char *propq) ossl_c448_ed448_verify() argument 364 ossl_c448_ed448_verify_prehash( OSSL_LIB_CTX *ctx, const uint8_t signature[EDDSA_448_SIGNATURE_BYTES], const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], const uint8_t hash[64], const uint8_t *context, uint8_t context_len, const char *propq) ossl_c448_ed448_verify_prehash() argument 376 ossl_ed448_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t *message, size_t message_len, const uint8_t public_key[57], const uint8_t private_key[57], const uint8_t *context, size_t context_len, const char *propq) ossl_ed448_sign() argument 387 ossl_ed448_verify(OSSL_LIB_CTX *ctx, const uint8_t *message, size_t message_len, const uint8_t signature[114], const uint8_t public_key[57], const uint8_t *context, size_t context_len, const char *propq) ossl_ed448_verify() argument 397 ossl_ed448ph_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t hash[64], const uint8_t public_key[57], const uint8_t private_key[57], const uint8_t *context, size_t context_len, const char *propq) ossl_ed448ph_sign() argument 407 ossl_ed448ph_verify(OSSL_LIB_CTX *ctx, const uint8_t hash[64], const uint8_t signature[114], const uint8_t public_key[57], const uint8_t *context, size_t context_len, const char *propq) ossl_ed448ph_verify() argument 418 ossl_ed448_public_from_private(OSSL_LIB_CTX *ctx, uint8_t out_public_key[57], const uint8_t private_key[57], const char *propq) ossl_ed448_public_from_private() argument [all...] |
/third_party/openssl/crypto/ec/curve448/ |
H A D | eddsa.c | 23 static c448_error_t oneshot_hash(OSSL_LIB_CTX *ctx, uint8_t *out, size_t outlen, in oneshot_hash() argument 34 shake256 = EVP_MD_fetch(ctx, "SHAKE256", propq); in oneshot_hash() 57 static c448_error_t hash_init_with_dom(OSSL_LIB_CTX *ctx, EVP_MD_CTX *hashctx, in hash_init_with_dom() argument 80 shake256 = EVP_MD_fetch(ctx, "SHAKE256", propq); in hash_init_with_dom() 99 OSSL_LIB_CTX *ctx, in ossl_c448_ed448_convert_private_key_to_x448() 106 return oneshot_hash(ctx, x, X448_PRIVATE_BYTES, ed, in ossl_c448_ed448_convert_private_key_to_x448() 112 OSSL_LIB_CTX *ctx, in ossl_c448_ed448_derive_public_key() 123 if (!oneshot_hash(ctx, secret_scalar_ser, sizeof(secret_scalar_ser), in ossl_c448_ed448_derive_public_key() 159 ossl_c448_ed448_sign(OSSL_LIB_CTX *ctx, in ossl_c448_ed448_sign() argument 185 if (!oneshot_hash(ctx, expande in ossl_c448_ed448_sign() 98 ossl_c448_ed448_convert_private_key_to_x448( OSSL_LIB_CTX *ctx, uint8_t x[X448_PRIVATE_BYTES], const uint8_t ed [EDDSA_448_PRIVATE_BYTES], const char *propq) ossl_c448_ed448_convert_private_key_to_x448() argument 111 ossl_c448_ed448_derive_public_key( OSSL_LIB_CTX *ctx, uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], const uint8_t privkey[EDDSA_448_PRIVATE_BYTES], const char *propq) ossl_c448_ed448_derive_public_key() argument 267 ossl_c448_ed448_sign_prehash( OSSL_LIB_CTX *ctx, uint8_t signature[EDDSA_448_SIGNATURE_BYTES], const uint8_t privkey[EDDSA_448_PRIVATE_BYTES], const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], const uint8_t hash[64], const uint8_t *context, size_t context_len, const char *propq) ossl_c448_ed448_sign_prehash() argument 280 ossl_c448_ed448_verify( OSSL_LIB_CTX *ctx, const uint8_t signature[EDDSA_448_SIGNATURE_BYTES], const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], const uint8_t *message, size_t message_len, uint8_t prehashed, const uint8_t *context, uint8_t context_len, const char *propq) ossl_c448_ed448_verify() argument 364 ossl_c448_ed448_verify_prehash( OSSL_LIB_CTX *ctx, const uint8_t signature[EDDSA_448_SIGNATURE_BYTES], const uint8_t pubkey[EDDSA_448_PUBLIC_BYTES], const uint8_t hash[64], const uint8_t *context, uint8_t context_len, const char *propq) ossl_c448_ed448_verify_prehash() argument 376 ossl_ed448_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t *message, size_t message_len, const uint8_t public_key[57], const uint8_t private_key[57], const uint8_t *context, size_t context_len, const char *propq) ossl_ed448_sign() argument 387 ossl_ed448_verify(OSSL_LIB_CTX *ctx, const uint8_t *message, size_t message_len, const uint8_t signature[114], const uint8_t public_key[57], const uint8_t *context, size_t context_len, const char *propq) ossl_ed448_verify() argument 397 ossl_ed448ph_sign(OSSL_LIB_CTX *ctx, uint8_t *out_sig, const uint8_t hash[64], const uint8_t public_key[57], const uint8_t private_key[57], const uint8_t *context, size_t context_len, const char *propq) ossl_ed448ph_sign() argument 407 ossl_ed448ph_verify(OSSL_LIB_CTX *ctx, const uint8_t hash[64], const uint8_t signature[114], const uint8_t public_key[57], const uint8_t *context, size_t context_len, const char *propq) ossl_ed448ph_verify() argument 418 ossl_ed448_public_from_private(OSSL_LIB_CTX *ctx, uint8_t out_public_key[57], const uint8_t private_key[57], const char *propq) ossl_ed448_public_from_private() argument [all...] |