Home
last modified time | relevance | path

Searched refs:ctx_size (Results 1 - 20 of 20) sorted by relevance

/third_party/node/deps/openssl/openssl/crypto/evp/
H A Dcmeth_lib.c84 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size) in EVP_CIPHER_meth_set_impl_ctx_size() argument
86 if (cipher->ctx_size != 0) in EVP_CIPHER_meth_set_impl_ctx_size()
89 cipher->ctx_size = ctx_size; in EVP_CIPHER_meth_set_impl_ctx_size()
H A Ddigest.c34 if (ctx->md_data != NULL && ctx->digest->ctx_size > 0 in cleanup_old_md_data()
37 OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size); in cleanup_old_md_data()
330 if (!(ctx->flags & EVP_MD_CTX_FLAG_NO_INIT) && type->ctx_size) { in evp_md_init_internal()
332 ctx->md_data = OPENSSL_zalloc(type->ctx_size); in evp_md_init_internal()
469 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
509 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinalXOF()
615 if (in->md_data && out->digest->ctx_size) { in EVP_MD_CTX_copy_ex()
619 out->md_data = OPENSSL_malloc(out->digest->ctx_size); in EVP_MD_CTX_copy_ex()
625 memcpy(out->md_data, in->md_data, out->digest->ctx_size); in EVP_MD_CTX_copy_ex()
H A Devp_enc.c57 if (ctx->cipher_data && ctx->cipher->ctx_size) in EVP_CIPHER_CTX_reset()
58 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size); in EVP_CIPHER_CTX_reset()
156 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_internal()
343 if (ctx->cipher->ctx_size) { in evp_cipher_init_internal()
344 ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size); in evp_cipher_init_internal()
1456 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
1457 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
1463 memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
H A Devp_lib.c400 return e->ctx_size; in EVP_CIPHER_impl_ctx_size()
884 if (md->ctx_size != 0) in EVP_MD_meth_set_app_datasize()
887 md->ctx_size = datasize; in EVP_MD_meth_set_app_datasize()
962 return md->ctx_size; in EVP_MD_meth_get_app_datasize()
/third_party/openssl/crypto/evp/
H A Dcmeth_lib.c84 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size) in EVP_CIPHER_meth_set_impl_ctx_size() argument
86 if (cipher->ctx_size != 0) in EVP_CIPHER_meth_set_impl_ctx_size()
89 cipher->ctx_size = ctx_size; in EVP_CIPHER_meth_set_impl_ctx_size()
H A Ddigest.c34 if (ctx->md_data != NULL && ctx->digest->ctx_size > 0 in cleanup_old_md_data()
37 OPENSSL_clear_free(ctx->md_data, ctx->digest->ctx_size); in cleanup_old_md_data()
330 if (!(ctx->flags & EVP_MD_CTX_FLAG_NO_INIT) && type->ctx_size) { in evp_md_init_internal()
332 ctx->md_data = OPENSSL_zalloc(type->ctx_size); in evp_md_init_internal()
469 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinal_ex()
509 OPENSSL_cleanse(ctx->md_data, ctx->digest->ctx_size); in EVP_DigestFinalXOF()
615 if (in->md_data && out->digest->ctx_size) { in EVP_MD_CTX_copy_ex()
619 out->md_data = OPENSSL_malloc(out->digest->ctx_size); in EVP_MD_CTX_copy_ex()
625 memcpy(out->md_data, in->md_data, out->digest->ctx_size); in EVP_MD_CTX_copy_ex()
H A Devp_enc.c57 if (ctx->cipher_data && ctx->cipher->ctx_size) in EVP_CIPHER_CTX_reset()
58 OPENSSL_cleanse(ctx->cipher_data, ctx->cipher->ctx_size); in EVP_CIPHER_CTX_reset()
156 OPENSSL_clear_free(ctx->cipher_data, ctx->cipher->ctx_size); in evp_cipher_init_internal()
338 if (ctx->cipher->ctx_size) { in evp_cipher_init_internal()
339 ctx->cipher_data = OPENSSL_zalloc(ctx->cipher->ctx_size); in evp_cipher_init_internal()
1451 if (in->cipher_data && in->cipher->ctx_size) { in EVP_CIPHER_CTX_copy()
1452 out->cipher_data = OPENSSL_malloc(in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
1458 memcpy(out->cipher_data, in->cipher_data, in->cipher->ctx_size); in EVP_CIPHER_CTX_copy()
H A Devp_lib.c400 return e->ctx_size; in EVP_CIPHER_impl_ctx_size()
884 if (md->ctx_size != 0) in EVP_MD_meth_set_app_datasize()
887 md->ctx_size = datasize; in EVP_MD_meth_set_app_datasize()
962 return md->ctx_size; in EVP_MD_meth_get_app_datasize()
/third_party/ffmpeg/libavutil/
H A Dcrc.h73 * @param ctx_size size of ctx in bytes
76 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
H A Dcrc.c341 int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size) in av_crc_init() argument
348 if (ctx_size != sizeof(AVCRC) * 257 && ctx_size != sizeof(AVCRC) * 1024) in av_crc_init()
364 if (ctx_size >= sizeof(AVCRC) * 1024) in av_crc_init()
/third_party/mesa3d/src/gallium/drivers/radeonsi/
H A Dradeon_vcn_dec.c1827 unsigned ctx_size = calc_ctx_size_h264_perf(dec); in rvcn_dec_message_decode() local
1830 r = si_vid_create_tmz_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT); in rvcn_dec_message_decode()
1832 r = si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT); in rvcn_dec_message_decode()
1842 unsigned ctx_size; in rvcn_dec_message_decode() local
1847 ctx_size = 2304 * 5; in rvcn_dec_message_decode()
1851 ctx_size += 32 * 2 * 128 * 68; in rvcn_dec_message_decode()
1853 ctx_size += 9 * 64 * 2 * 128 * 68; in rvcn_dec_message_decode()
1855 ctx_size += 8 * 2 * 2 * 8192; in rvcn_dec_message_decode()
1857 ctx_size += 32 * 2 * 64 * 64; in rvcn_dec_message_decode()
1858 ctx_size in rvcn_dec_message_decode()
1883 unsigned ctx_size; rvcn_dec_message_decode() local
2040 unsigned ctx_size = (9 + 4) * frame_ctxt_size + 9 * 64 * 34 * 512 + 9 * 64 * 34 * 256 * 5; rvcn_dec_message_decode() local
2305 unsigned width_in_mb, height_in_mb, ctx_size; calc_ctx_size_h264_perf() local
[all...]
H A Dradeon_uvd.c221 unsigned width_in_mb, height_in_mb, ctx_size; in calc_ctx_size_h264_perf() local
262 ctx_size = max_references * align(width_in_mb * height_in_mb * 192, 256); in calc_ctx_size_h264_perf()
267 ctx_size = align(width_in_mb * height_in_mb * max_references * 192, 256); in calc_ctx_size_h264_perf()
270 return ctx_size; in calc_ctx_size_h264_perf()
1139 unsigned ctx_size; in ruvd_end_frame() local
1141 ctx_size = calc_ctx_size_h265_main10(dec, (struct pipe_h265_picture_desc *)picture); in ruvd_end_frame()
1143 ctx_size = calc_ctx_size_h265_main(dec); in ruvd_end_frame()
1144 if (!si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAULT)) { in ruvd_end_frame()
1312 unsigned ctx_size = calc_ctx_size_h264_perf(dec); in si_common_uvd_create_decoder() local
1313 if (!si_vid_create_buffer(dec->screen, &dec->ctx, ctx_size, PIPE_USAGE_DEFAUL in si_common_uvd_create_decoder()
[all...]
/third_party/openssl/ohos_lite/include/crypto/
H A Devp.h126 int ctx_size; /* how big does the ctx->md_data need to be */ member
148 int ctx_size; member
/third_party/node/deps/openssl/openssl/include/crypto/
H A Devp.h262 int ctx_size; /* how big does the ctx->md_data need to be */ member
312 int ctx_size; member
/third_party/openssl/include/crypto/
H A Devp.h262 int ctx_size; /* how big does the ctx->md_data need to be */ member
312 int ctx_size; member
/third_party/ffmpeg/libavformat/
H A Dmxfdec.c321 int ctx_size; member
3209 static int mxf_read_local_tags(MXFContext *mxf, KLVPacket *klv, MXFMetadataReadFunc *read_child, int ctx_size, enum MXFMetadataSetType type) in mxf_read_local_tags() argument
3216 if (ctx_size) { in mxf_read_local_tags()
3217 meta = av_mallocz(ctx_size); in mxf_read_local_tags()
3301 int ctx_size, enum MXFMetadataSetType type) in mxf_parse_klv()
3306 res = mxf_read_local_tags(mxf, &klv, read, ctx_size, type); in mxf_parse_klv()
3719 if ((ret = mxf_parse_klv(mxf, klv, metadata->read, metadata->ctx_size, metadata->type)) < 0) in mxf_read_header()
3300 mxf_parse_klv(MXFContext *mxf, KLVPacket klv, MXFMetadataReadFunc *read, int ctx_size, enum MXFMetadataSetType type) mxf_parse_klv() argument
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
H A Dtypes.rs93 pub ctx_size: c_int,
/third_party/openssl/ohos_lite/include/openssl/
H A Devp.h191 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
/third_party/node/deps/openssl/openssl/include/openssl/
H A Devp.h244 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);
/third_party/openssl/include/openssl/
H A Devp.h242 int EVP_CIPHER_meth_set_impl_ctx_size(EVP_CIPHER *cipher, int ctx_size);

Completed in 38 milliseconds