/freebsd/crypto/openssl/crypto/evp/ |
H A D | cmeth_lib.c | 84 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 D | digest.c | 34 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 D | evp_enc.c | 57 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 D | evp_lib.c | 400 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()
|
/freebsd/sys/dev/qlnx/qlnxe/ |
H A D | ecore_init_fw_funcs.h | 491 u16 ctx_size, 505 u16 ctx_size, 519 u32 ctx_size, 531 u32 ctx_size,
|
H A D | ecore_init_fw_funcs.c | 1694 void ecore_calc_session_ctx_validation(void *p_ctx_mem, u16 ctx_size, u8 ctx_type, u32 cid) in ecore_calc_session_ctx_validation() argument 1703 OSAL_MEMSET(p_ctx, 0, ctx_size); in ecore_calc_session_ctx_validation() 1711 void ecore_calc_task_ctx_validation(void *p_ctx_mem, u16 ctx_size, u8 ctx_type, u32 tid) in ecore_calc_task_ctx_validation() argument 1718 OSAL_MEMSET(p_ctx, 0, ctx_size); in ecore_calc_task_ctx_validation() 1724 void ecore_memset_session_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type) in ecore_memset_session_ctx() argument 1738 OSAL_MEMSET(p_ctx, 0, ctx_size); in ecore_memset_session_ctx() 1746 void ecore_memset_task_ctx(void *p_ctx_mem, u32 ctx_size, u8 ctx_type) in ecore_memset_task_ctx() argument 1756 OSAL_MEMSET(p_ctx, 0, ctx_size); in ecore_memset_task_ctx()
|
/freebsd/sbin/nvmecontrol/ |
H A D | ns.c | 66 .ctx_size = 0, 88 .ctx_size = sizeof(active_opt), 99 .ctx_size = sizeof(active_opt), 121 .ctx_size = sizeof(controllers_opt), 187 .ctx_size = sizeof(create_opt), 217 .ctx_size = sizeof(delete_opt), 251 .ctx_size = sizeof(attach_opt), 281 .ctx_size = sizeof(attached_opt), 315 .ctx_size = sizeof(detach_opt), 353 .ctx_size [all...] |
H A D | resv.c | 60 .ctx_size = 0, 102 .ctx_size = sizeof(acquire_opt), 148 .ctx_size = sizeof(register_opt), 186 .ctx_size = sizeof(release_opt), 224 .ctx_size = sizeof(report_opt),
|
H A D | nsid.c | 56 .ctx_size = sizeof(nsid_opt),
|
H A D | connect.c | 289 .ctx_size = sizeof(opt), 298 .ctx_size = sizeof(opt),
|
H A D | comnd.h | 78 size_t ctx_size; member
|
H A D | passthru.c | 281 .ctx_size = sizeof(struct options), 290 .ctx_size = sizeof(struct options),
|
H A D | selftest.c | 128 .ctx_size = sizeof(opt),
|
H A D | telemetry.c | 79 .ctx_size = sizeof(opt),
|
H A D | perftest.c | 101 .ctx_size = sizeof(opt),
|
H A D | power.c | 200 .ctx_size = sizeof(opt),
|
H A D | sanitize.c | 97 .ctx_size = sizeof(opt),
|
H A D | format.c | 102 .ctx_size = sizeof(opt),
|
H A D | devlist.c | 75 .ctx_size = sizeof(opt),
|
/freebsd/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | qat_crypt.c | 160 Cpa32U ctx_size; in qat_init_crypt_session_ctx() local 197 status = cpaCySymSessionCtxGetSize(inst_handle, &sd, &ctx_size); in qat_init_crypt_session_ctx() 201 status = QAT_PHYS_CONTIG_ALLOC(cy_session_ctx, ctx_size); in qat_init_crypt_session_ctx() 220 Cpa32U ctx_size; in qat_init_checksum_session_ctx() local 242 status = cpaCySymSessionCtxGetSize(inst_handle, &sd, &ctx_size); in qat_init_checksum_session_ctx() 246 status = QAT_PHYS_CONTIG_ALLOC(cy_session_ctx, ctx_size); in qat_init_checksum_session_ctx()
|
H A D | qat_compress.c | 109 Cpa32U ctx_size = 0; in qat_dc_init() local 201 &sd, &sess_size, &ctx_size); in qat_dc_init()
|
/freebsd/usr.sbin/pkg/ |
H A D | pkg.c | 106 size_t ctx_size; in pkgsign_new() local 123 ctx_size = ops->pkgsign_ctx_size; in pkgsign_new() 124 if (ctx_size == 0) in pkgsign_new() 125 ctx_size = sizeof(*nctx); in pkgsign_new() 126 assert(ctx_size >= sizeof(*nctx)); in pkgsign_new() 128 nctx = calloc(1, ctx_size); in pkgsign_new()
|
/freebsd/lib/libc/aarch64/gen/ |
H A D | getcontextx.c | 54 reg_ctx->ctx_size = sizeof(struct arm64_reg_context); in __fillcontextx2()
|
/freebsd/sys/arm64/include/ |
H A D | ucontext.h | 61 __uint32_t ctx_size; member
|
/freebsd/sys/arm64/arm64/ |
H A D | exec_machdep.c | 547 if (ctx.ctx_size != in set_mcontext() 570 addr += ctx.ctx_size; in set_mcontext() 678 end_ctx.ctx_size = sizeof(end_ctx); in sendsig_ctx_end() 709 ctx.sve_ctx.ctx_size = sizeof(ctx) + buf_size; in sendsig_ctx_sve()
|