instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux işletim sistemi çekirdeği için 'include/linux/dma/qcom_bam_dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2016-2017, The Linux Foundation. All rights reserved. */ #ifndef _QCOM_BAM_DMA_H #define _QCOM_BAM_DMA_H #include <asm/byteorder.h> /* * This data type corresponds to the native Command Element * supported by BAM DMA Engine. * * @cmd_and_addr ...
Linux işletim sistemi çekirdeği için 'include/linux/dma/k3-udma-glue' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com */ #ifndef K3_UDMA_GLUE_H_ #define K3_UDMA_GLUE_H_ #include <linux/types.h> #include <linux/soc/ti/k3-ringacc.h> #include <linux/dma/ti-cppi5.h> struct k3_udma_glue_tx_channel_cfg { struct k3_r...
Linux işletim sistemi çekirdeği için 'include/linux/dma/edma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (c) 2018-2019 Synopsys, Inc. and/or its affiliates. * Synopsys DesignWare eDMA core driver * * Author: Gustavo Pimentel <gustavo.pimentel@synopsys.com> */ #ifndef _DW_EDMA_H #define _DW_EDMA_H #include <linux/device.h> #include <linux/dmaengine.h> #defi...
Linux işletim sistemi çekirdeği için 'include/linux/dma/k3-psil' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2019 Texas Instruments Incorporated - https://www.ti.com */ #ifndef K3_PSIL_H_ #define K3_PSIL_H_ #include <linux/types.h> #define K3_PSIL_DST_THREAD_ID_OFFSET 0x8000 struct device; /** * enum udma_tp_level - Channel Throughput Levels * @UDMA_TP_N...
Linux işletim sistemi çekirdeği için 'include/linux/dma/xilinx_dpdma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __LINUX_DMA_XILINX_DPDMA_H #define __LINUX_DMA_XILINX_DPDMA_H #include <linux/types.h> struct xilinx_dpdma_peripheral_config { bool video_group; }; #endif /* __LINUX_DMA_XILINX_DPDMA_H */ ```
Linux işletim sistemi çekirdeği için 'include/linux/dma/hsu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Driver for the High Speed UART DMA * * Copyright (C) 2015 Intel Corporation */ #ifndef _DMA_HSU_H #define _DMA_HSU_H #include <linux/errno.h> #include <linux/kconfig.h> #include <linux/types.h> #include <linux/platform_data/dma-hsu.h> struct device; struct h...
Linux işletim sistemi çekirdeği için 'include/linux/dma/dw' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Driver for the Synopsys DesignWare DMA Controller * * Copyright (C) 2007 Atmel Corporation * Copyright (C) 2010-2011 ST Microelectronics * Copyright (C) 2014 Intel Corporation */ #ifndef _DMA_DW_H #define _DMA_DW_H #include <linux/clk.h> #include <linux/device.h> ...
Linux işletim sistemi çekirdeği için 'include/linux/pwrseq/consumer' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2024 Linaro Ltd. */ #ifndef __POWER_SEQUENCING_CONSUMER_H__ #define __POWER_SEQUENCING_CONSUMER_H__ #include <linux/err.h> struct device; struct pwrseq_desc; #if IS_ENABLED(CONFIG_POWER_SEQUENCING) struct pwrseq_desc * __must_check pwrseq_get(st...
Linux işletim sistemi çekirdeği için 'include/linux/pwrseq/provider' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (C) 2024 Linaro Ltd. */ #ifndef __POWER_SEQUENCING_PROVIDER_H__ #define __POWER_SEQUENCING_PROVIDER_H__ struct device; struct module; struct pwrseq_device; typedef int (*pwrseq_power_state_func)(struct pwrseq_device *); typedef int (*pwrseq_match_func...
Linux işletim sistemi çekirdeği için 'include/linux/sched/topology' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_TOPOLOGY_H #define _LINUX_SCHED_TOPOLOGY_H #include <linux/topology.h> #include <linux/sched/idle.h> /* * sched-domains (multiprocessor balancing) declarations: */ /* Generate SD flag indexes */ #define SD_FLAG(name, mflags) __##name, enum { #inclu...
Linux işletim sistemi çekirdeği için 'include/linux/sched/clock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_CLOCK_H #define _LINUX_SCHED_CLOCK_H #include <linux/smp.h> /* * Do not use outside of architecture code which knows its limitations. * * sched_clock() has no promise of monotonicity or bounded drift between * CPUs, use (which you should not) requir...
Linux işletim sistemi çekirdeği için 'include/linux/sched/xacct' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_XACCT_H #define _LINUX_SCHED_XACCT_H /* * Extended task accounting methods: */ #include <linux/sched.h> #ifdef CONFIG_TASK_XACCT static inline void add_rchar(struct task_struct *tsk, ssize_t amt) { tsk->ioac.rchar += amt; } static inline void add_w...
Linux işletim sistemi çekirdeği için 'include/linux/sched/jobctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_JOBCTL_H #define _LINUX_SCHED_JOBCTL_H #include <linux/types.h> struct task_struct; /* * task->jobctl flags */ #define JOBCTL_STOP_SIGMASK 0xffff /* signr of the last group stop */ #define JOBCTL_STOP_DEQUEUED_BIT 16 /* stop signal dequeued */ #defi...
Linux işletim sistemi çekirdeği için 'include/linux/sched/signal' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_SIGNAL_H #define _LINUX_SCHED_SIGNAL_H #include <linux/rculist.h> #include <linux/signal.h> #include <linux/sched.h> #include <linux/sched/jobctl.h> #include <linux/sched/task.h> #include <linux/cred.h> #include <linux/refcount.h> #include <linux/pid.h> ...
Linux işletim sistemi çekirdeği için 'include/linux/sched/cpufreq' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_CPUFREQ_H #define _LINUX_SCHED_CPUFREQ_H #include <linux/types.h> /* * Interface between cpufreq drivers and the scheduler: */ #define SCHED_CPUFREQ_IOWAIT (1U << 0) #ifdef CONFIG_CPU_FREQ struct cpufreq_policy; struct update_util_data { voi...
Linux işletim sistemi çekirdeği için 'include/linux/sched/stat' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_STAT_H #define _LINUX_SCHED_STAT_H #include <linux/percpu.h> #include <linux/kconfig.h> /* * Various counters maintained by the scheduler and fork(), * exposed via /proc, sys.c or used by drivers via these APIs. * * ( Note that all these values are ...
Linux işletim sistemi çekirdeği için 'include/linux/sched/task' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_TASK_H #define _LINUX_SCHED_TASK_H /* * Interface between the scheduler and various task lifetime (fork()/exit()) * functionality: */ #include <linux/rcupdate.h> #include <linux/refcount.h> #include <linux/sched.h> #include <linux/uaccess.h> struct ...
Linux işletim sistemi çekirdeği için 'include/linux/sched/init' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_INIT_H #define _LINUX_SCHED_INIT_H /* * Scheduler init related prototypes: */ extern void sched_init(void); extern void sched_init_smp(void); #endif /* _LINUX_SCHED_INIT_H */ ```
Linux işletim sistemi çekirdeği için 'include/linux/sched/nohz' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_NOHZ_H #define _LINUX_SCHED_NOHZ_H /* * This is the interface between the scheduler and nohz/dynticks: */ #ifdef CONFIG_NO_HZ_COMMON extern void nohz_balance_enter_idle(int cpu); extern int get_nohz_timer_target(void); #else static inline void nohz_ba...
Linux işletim sistemi çekirdeği için 'include/linux/sched/hotplug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_HOTPLUG_H #define _LINUX_SCHED_HOTPLUG_H /* * Scheduler interfaces for hotplug CPU support: */ extern int sched_cpu_starting(unsigned int cpu); extern int sched_cpu_activate(unsigned int cpu); extern int sched_cpu_deactivate(unsigned int cpu); #ifdef...
Linux işletim sistemi çekirdeği için 'include/linux/sched/ext' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * BPF extensible scheduler class: Documentation/scheduler/sched-ext.rst * * Copyright (c) 2022 Meta Platforms, Inc. and affiliates. * Copyright (c) 2022 Tejun Heo <tj@kernel.org> * Copyright (c) 2022 David Vernet <dvernet@meta.com> */ #ifndef _LINUX_SCHED_EXT_H #defi...
Linux işletim sistemi çekirdeği için 'include/linux/sched/user' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_USER_H #define _LINUX_SCHED_USER_H #include <linux/uidgid.h> #include <linux/atomic.h> #include <linux/percpu_counter.h> #include <linux/refcount.h> #include <linux/ratelimit.h> /* * Some day this will be a full-fledged user tracking system.. */ struc...
Linux işletim sistemi çekirdeği için 'include/linux/sched/task_stack' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_TASK_STACK_H #define _LINUX_SCHED_TASK_STACK_H /* * task->stack (kernel stack) handling interfaces: */ #include <linux/sched.h> #include <linux/magic.h> #include <linux/refcount.h> #include <linux/kasan.h> #ifdef CONFIG_THREAD_INFO_IN_TASK /* * Whe...
Linux işletim sistemi çekirdeği için 'include/linux/sched/vhost_task' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_VHOST_TASK_H #define _LINUX_SCHED_VHOST_TASK_H struct vhost_task; struct vhost_task *vhost_task_create(bool (*fn)(void *), void (*handle_kill)(void *), void *arg, const char *name); void vhost_task_start(struct vhost_task *vtsk); void ...
Linux işletim sistemi çekirdeği için 'include/linux/sched/cputime' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_CPUTIME_H #define _LINUX_SCHED_CPUTIME_H #include <linux/static_call_types.h> #include <linux/sched/signal.h> /* * cputime accounting APIs: */ #ifdef CONFIG_VIRT_CPU_ACCOUNTING_GEN extern bool task_cputime(struct task_struct *t, u64 *utime, u64 *...
Linux işletim sistemi çekirdeği için 'include/linux/sched/smt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_SMT_H #define _LINUX_SCHED_SMT_H #include <linux/static_key.h> #ifdef CONFIG_SCHED_SMT extern struct static_key_false sched_smt_present; static __always_inline bool sched_smt_active(void) { return static_branch_likely(&sched_smt_present); } #else stat...
Linux işletim sistemi çekirdeği için 'include/linux/sched/deadline' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_DEADLINE_H #define _LINUX_SCHED_DEADLINE_H /* * SCHED_DEADLINE tasks has negative priorities, reflecting * the fact that any of them has higher prio than RT and * NORMAL/BATCH tasks. */ #include <linux/sched.h> static inline bool dl_prio(int prio) ...
Linux işletim sistemi çekirdeği için 'include/linux/sched/sysctl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_SYSCTL_H #define _LINUX_SCHED_SYSCTL_H #include <linux/types.h> #ifdef CONFIG_DETECT_HUNG_TASK /* used for hung_task and block/ */ extern unsigned long sysctl_hung_task_timeout_secs; #else /* Avoid need for ifdefs elsewhere in the code */ enum { sysctl_...
Linux işletim sistemi çekirdeği için 'include/linux/sched/mm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_MM_H #define _LINUX_SCHED_MM_H #include <linux/kernel.h> #include <linux/atomic.h> #include <linux/sched.h> #include <linux/mm_types.h> #include <linux/gfp.h> #include <linux/sync_core.h> #include <linux/sched/coredump.h> /* * Routines for handling mm_...
Linux işletim sistemi çekirdeği için 'include/linux/sched/wake_q' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_WAKE_Q_H #define _LINUX_SCHED_WAKE_Q_H /* * Wake-queues are lists of tasks with a pending wakeup, whose * callers have already marked the task as woken internally, * and can thus carry on. A common use case is being able to * do the wakeups once the ...
Linux işletim sistemi çekirdeği için 'include/linux/sched/rt' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_RT_H #define _LINUX_SCHED_RT_H #include <linux/sched.h> struct task_struct; static inline bool rt_prio(int prio) { return unlikely(prio < MAX_RT_PRIO && prio >= MAX_DL_PRIO); } static inline bool rt_or_dl_prio(int prio) { return unlikely(prio < MAX_...
Linux işletim sistemi çekirdeği için 'include/linux/sched/coredump' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_COREDUMP_H #define _LINUX_SCHED_COREDUMP_H #include <linux/mm_types.h> #define SUID_DUMP_DISABLE 0 /* No setuid dumping */ #define SUID_DUMP_USER 1 /* Dump as user of process */ #define SUID_DUMP_ROOT 2 /* Dump as root */ static inline unsigned long ...
Linux işletim sistemi çekirdeği için 'include/linux/sched/types' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_TYPES_H #define _LINUX_SCHED_TYPES_H #include <linux/types.h> /** * struct task_cputime - collected CPU time counts * @stime: time spent in kernel mode, in nanoseconds * @utime: time spent in user mode, in nanoseconds * @sum_exec_runtime: total ti...
Linux işletim sistemi çekirdeği için 'include/linux/sched/sd_flags' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * sched-domains (multiprocessor balancing) flag declarations. */ #ifndef SD_FLAG # error "Incorrect import of SD flags definitions" #endif /* * Hierarchical metaflags * * SHARED_CHILD: These flags are meant to be set from the base domain upwards. * If a domain has ...
Linux işletim sistemi çekirdeği için 'include/linux/sched/prio' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_PRIO_H #define _LINUX_SCHED_PRIO_H #define MAX_NICE 19 #define MIN_NICE -20 #define NICE_WIDTH (MAX_NICE - MIN_NICE + 1) /* * Priority of a process goes from 0..MAX_PRIO-1, valid RT * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH * tasks...
Linux işletim sistemi çekirdeği için 'include/linux/sched/numa_balancing' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_NUMA_BALANCING_H #define _LINUX_SCHED_NUMA_BALANCING_H /* * This is the interface between the scheduler and the MM that * implements memory access pattern based NUMA-balancing: */ #include <linux/sched.h> #define TNF_MIGRATED 0x01 #define TNF_NO_GRO...
Linux işletim sistemi çekirdeği için 'include/linux/sched/loadavg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_LOADAVG_H #define _LINUX_SCHED_LOADAVG_H /* * These are the constant used to fake the fixed-point load-average * counting. Some notes: * - 11 bit fractions expand to 22 bits by the multiplies: this gives * a load-average precision of 10 bits inte...
Linux işletim sistemi çekirdeği için 'include/linux/sched/isolation' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _LINUX_SCHED_ISOLATION_H #define _LINUX_SCHED_ISOLATION_H #include <linux/cpumask.h> #include <linux/init.h> #include <linux/tick.h> enum hk_type { /* Inverse of boot-time isolcpus= argument */ HK_TYPE_DOMAIN_BOOT, /* * Same as HK_TYPE_DOMAIN_BOOT but also includes the * inverse of cpuset isolated...
Linux işletim sistemi çekirdeği için 'include/linux/sched/debug' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_DEBUG_H #define _LINUX_SCHED_DEBUG_H /* * Various scheduler/task debugging interfaces: */ struct task_struct; struct pid_namespace; extern void dump_cpu_task(int cpu); /* * Only dump TASK_* tasks. (0 for all tasks) */ extern void show_state_filter...
Linux işletim sistemi çekirdeği için 'include/linux/sched/idle' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_IDLE_H #define _LINUX_SCHED_IDLE_H #include <linux/sched.h> enum cpu_idle_type { __CPU_NOT_IDLE = 0, CPU_IDLE, CPU_NEWLY_IDLE, CPU_MAX_IDLE_TYPES }; extern void wake_up_if_idle(int cpu); /* * Idle thread specific functions to determine the need_r...
Linux işletim sistemi çekirdeği için 'include/linux/sched/autogroup' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _LINUX_SCHED_AUTOGROUP_H #define _LINUX_SCHED_AUTOGROUP_H struct signal_struct; struct task_struct; struct task_group; struct seq_file; #ifdef CONFIG_SCHED_AUTOGROUP extern void sched_autogroup_create_attach(struct task_struct *p); extern void sched_autogroup_detach...
Linux işletim sistemi çekirdeği için 'include/crypto/xts' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_XTS_H #define _CRYPTO_XTS_H #include <crypto/b128ops.h> #include <crypto/internal/skcipher.h> #include <linux/fips.h> #define XTS_BLOCK_SIZE 16 static inline int xts_verify_key(struct crypto_skcipher *tfm, const u8 *key, unsigned int keylen) { /* * ...
Linux işletim sistemi çekirdeği için 'include/crypto/curve25519' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ #ifndef CURVE25519_H #define CURVE25519_H #include <linux/types.h> #include <linux/random.h> enum curve25519_lengths { CURVE25519_KEY_SIZE = 32 }; void curve25519_generic(...
Linux işletim sistemi çekirdeği için 'include/crypto/kpp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Key-agreement Protocol Primitives (KPP) * * Copyright (c) 2016, Intel Corporation * Authors: Salvatore Benedetto <salvatore.benedetto@intel.com> */ #ifndef _CRYPTO_KPP_ #define _CRYPTO_KPP_ #include <linux/atomic.h> #include <linux/container_of.h> #includ...
Linux işletim sistemi çekirdeği için 'include/crypto/hash_info' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Hash Info: Hash algorithms information * * Copyright (c) 2013 Dmitry Kasatkin <d.kasatkin@samsung.com> */ #ifndef _CRYPTO_HASH_INFO_H #define _CRYPTO_HASH_INFO_H #include <crypto/sha1.h> #include <crypto/sha2.h> #include <crypto/sha3.h> #include <crypto/md...
Linux işletim sistemi çekirdeği için 'include/crypto/mldsa' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Support for verifying ML-DSA signatures * * Copyright 2025 Google LLC */ #ifndef _CRYPTO_MLDSA_H #define _CRYPTO_MLDSA_H #include <linux/types.h> /* Identifier for an ML-DSA parameter set */ enum mldsa_alg { MLDSA44, /* ML-DSA-44 */ MLDSA65, /* ML-DSA-65...
Linux işletim sistemi çekirdeği için 'include/crypto/kdf_sp800108' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright (C) 2021, Stephan Mueller <smueller@chronox.de> */ #ifndef _CRYPTO_KDF108_H #define _CRYPTO_KDF108_H #include <crypto/hash.h> #include <linux/uio.h> /** * Counter KDF generate operation according to SP800-108 section 5.1 * as well as SP800-56A section 5...
Linux işletim sistemi çekirdeği için 'include/crypto/blake2b' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR MIT */ #ifndef _CRYPTO_BLAKE2B_H #define _CRYPTO_BLAKE2B_H #include <linux/bug.h> #include <linux/types.h> #include <linux/string.h> enum blake2b_lengths { BLAKE2B_BLOCK_SIZE = 128, BLAKE2B_HASH_SIZE = 64, BLAKE2B_KEY_SIZE = 64, BLAKE2B_160_HASH_SIZE = 20, BLAKE2B_25...
Linux işletim sistemi çekirdeği için 'include/crypto/padlock' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Driver for VIA PadLock * * Copyright (c) 2004 Michal Ludvig <michal@logix.cz> */ #ifndef _CRYPTO_PADLOCK_H #define _CRYPTO_PADLOCK_H #define PADLOCK_ALIGNMENT 16 #define PFX KBUILD_MODNAME ": " #define PADLOCK_CRA_PRIORITY 300 #define PADLOCK_COMPOSITE_P...
Linux işletim sistemi çekirdeği için 'include/crypto/serpent' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for serpent algorithms */ #ifndef _CRYPTO_SERPENT_H #define _CRYPTO_SERPENT_H #include <linux/types.h> #include <linux/crypto.h> #define SERPENT_MIN_KEY_SIZE 0 #define SERPENT_MAX_KEY_SIZE 32 #define SERPENT_EXPKEY_WORDS 132 #define SERPENT_BLOCK...
Linux işletim sistemi çekirdeği için 'include/crypto/cryptd' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Software async crypto daemon * * Added AEAD support to cryptd. * Authors: Tadeusz Struk (tadeusz.struk@intel.com) * Adrian Hoban <adrian.hoban@intel.com> * Gabriele Paoloni <gabriele.paoloni@intel.com> * Aidan O'Mahony (aidan...
Linux işletim sistemi çekirdeği için 'include/crypto/ctr' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * CTR: Counter mode * * Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_CTR_H #define _CRYPTO_CTR_H #define CTR_RFC3686_NONCE_SIZE 4 #define CTR_RFC3686_IV_SIZE 8 #define CTR_RFC3686_BLOCK_SIZE 16 #endif /* _CRYPTO_CTR_H */ ...
Linux işletim sistemi çekirdeği için 'include/crypto/md5' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_MD5_H #define _CRYPTO_MD5_H #include <crypto/hash.h> #include <linux/types.h> #define MD5_DIGEST_SIZE 16 #define MD5_HMAC_BLOCK_SIZE 64 #define MD5_BLOCK_SIZE 64 #define MD5_BLOCK_WORDS 16 #define MD5_HASH_WORDS 4 #define MD5_STATE_SIZE 24 #define MD5_...
Linux işletim sistemi çekirdeği için 'include/crypto/cast5' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_CAST5_H #define _CRYPTO_CAST5_H #include <linux/types.h> #include <linux/crypto.h> #include <crypto/cast_common.h> #define CAST5_BLOCK_SIZE 8 #define CAST5_MIN_KEY_SIZE 5 #define CAST5_MAX_KEY_SIZE 16 struct cast5_ctx { u32 Km[16]; u8 Kr[16]; int rr; /* ...
Linux işletim sistemi çekirdeği için 'include/crypto/blake2s' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ #ifndef _CRYPTO_BLAKE2S_H #define _CRYPTO_BLAKE2S_H #include <linux/bug.h> #include <linux/kconfig.h> #include <linux/types.h> #include <linux/string.h> enum blake2s_lengths...
Linux işletim sistemi çekirdeği için 'include/crypto/streebog' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ OR BSD-2-Clause */ /* * Copyright (c) 2013 Alexey Degtyarev <alexey@renatasystems.org> * Copyright (c) 2018 Vitaly Chikunov <vt@altlinux.org> * * This program is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as ...
Linux işletim sistemi çekirdeği için 'include/crypto/gcm' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c #ifndef _CRYPTO_GCM_H #define _CRYPTO_GCM_H #include <linux/errno.h> #include <crypto/aes.h> #include <crypto/gf128hash.h> #define GCM_AES_IV_SIZE 12 #define GCM_RFC4106_IV_SIZE 8 #define GCM_RFC4543_IV_SIZE 8 /* * validate authentication tag for GCM */ static inline int crypto_gcm_check_authsize(unsigned in...
Linux işletim sistemi çekirdeği için 'include/crypto/sm3' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * SM3 hash algorithm * * Copyright (C) 2017 ARM Limited or its affiliates. * Copyright (C) 2017 Gilad Ben-Yossef <gilad@benyossef.com> * Copyright (C) 2021 Tianjia Zhang <tianjia.zhang@linux.alibaba.com> */ #ifndef _CRYPTO_SM3_H #define _CRYPTO_SM3_H #include ...
Linux işletim sistemi çekirdeği için 'include/crypto/akcipher' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Public Key Encryption * * Copyright (c) 2015, Intel Corporation * Authors: Tadeusz Struk <tadeusz.struk@intel.com> */ #ifndef _CRYPTO_AKCIPHER_H #define _CRYPTO_AKCIPHER_H #include <linux/atomic.h> #include <linux/crypto.h> /** * struct akcipher_request ...
Linux işletim sistemi çekirdeği için 'include/crypto/sha2' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for SHA-2 algorithms */ #ifndef _CRYPTO_SHA2_H #define _CRYPTO_SHA2_H #include <linux/types.h> #define SHA224_DIGEST_SIZE 28 #define SHA224_BLOCK_SIZE 64 #define SHA256_DIGEST_SIZE 32 #define SHA256_BLOCK_SIZE 64 #define SHA256_STATE_WORDS ...
Linux işletim sistemi çekirdeği için 'include/crypto/b128ops' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* b128ops.h - common 128-bit block operations * * Copyright (c) 2003, Dr Brian Gladman, Worcester, UK. * Copyright (c) 2006, Rik Snel <rsnel@cube.dyndns.org> * * Based on Dr Brian Gladman's (GPL'd) work published at * http://fp.gladman.plus.com/cryptography_technology/index.htm * See the original copyright...
Linux işletim sistemi çekirdeği için 'include/crypto/twofish' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_TWOFISH_H #define _CRYPTO_TWOFISH_H #include <linux/types.h> #define TF_MIN_KEY_SIZE 16 #define TF_MAX_KEY_SIZE 32 #define TF_BLOCK_SIZE 16 struct crypto_tfm; /* Structure for an expanded Twofish key. s contains the key-dependent * S-boxes composed with ...
Linux işletim sistemi çekirdeği için 'include/crypto/gf128hash' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * GF(2^128) polynomial hashing: GHASH and POLYVAL * * Copyright 2025 Google LLC */ #ifndef _CRYPTO_GF128HASH_H #define _CRYPTO_GF128HASH_H #include <crypto/ghash.h> #include <linux/string.h> #include <linux/types.h> #define POLYVAL_BLOCK_SIZE 16 #define POL...
Linux işletim sistemi çekirdeği için 'include/crypto/aes-cbc-macs' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Support for AES-CMAC, AES-XCBC-MAC, and AES-CBC-MAC * * Copyright 2026 Google LLC */ #ifndef _CRYPTO_AES_CBC_MACS_H #define _CRYPTO_AES_CBC_MACS_H #include <crypto/aes.h> /** * struct aes_cmac_key - Prepared key for AES-CMAC or AES-XCBC-MAC * @aes: The AES key fo...
Linux işletim sistemi çekirdeği için 'include/crypto/cast_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_CAST_COMMON_H #define _CRYPTO_CAST_COMMON_H extern const u32 cast_s1[256]; extern const u32 cast_s2[256]; extern const u32 cast_s3[256]; extern const u32 cast_s4[256]; #endif ```
Linux işletim sistemi çekirdeği için 'include/crypto/hmac' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_HMAC_H #define _CRYPTO_HMAC_H #define HMAC_IPAD_VALUE 0x36 #define HMAC_OPAD_VALUE 0x5c #endif /* _CRYPTO_HMAC_H */ ```
Linux işletim sistemi çekirdeği için 'include/crypto/sm4' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for the SM4 algorithm * Copyright (C) 2018 ARM Limited or its affiliates. * Copyright (c) 2021 Tianjia Zhang <tianjia.zhang@linux.alibaba.com> */ #ifndef _CRYPTO_SM4_H #define _CRYPTO_SM4_H #include <linux/types.h> #include <linux/crypto.h> #define ...
Linux işletim sistemi çekirdeği için 'include/crypto/aead' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * AEAD: Authenticated Encryption with Associated Data * * Copyright (c) 2007-2015 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_AEAD_H #define _CRYPTO_AEAD_H #include <linux/atomic.h> #include <linux/container_of.h> #include <linux/crypto.h> #...
Linux işletim sistemi çekirdeği için 'include/crypto/hash' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Hash: Hash algorithms under the crypto API * * Copyright (c) 2008 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_HASH_H #define _CRYPTO_HASH_H #include <linux/crypto.h> #include <linux/scatterlist.h> #include <linux/slab.h> #include <linux/st...
Linux işletim sistemi çekirdeği için 'include/crypto/algapi' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Cryptographic API for algorithms (i.e., low-level API). * * Copyright (c) 2006 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_ALGAPI_H #define _CRYPTO_ALGAPI_H #include <crypto/utils.h> #include <linux/align.h> #include <linux/cache.h> #include...
Linux işletim sistemi çekirdeği için 'include/crypto/des' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * DES & Triple DES EDE Cipher Algorithms. */ #ifndef __CRYPTO_DES_H #define __CRYPTO_DES_H #include <linux/types.h> #define DES_KEY_SIZE 8 #define DES_EXPKEY_WORDS 32 #define DES_BLOCK_SIZE 8 #define DES3_EDE_KEY_SIZE (3 * DES_KEY_SIZE) #define DES3_EDE_EXPKEY_WOR...
Linux işletim sistemi çekirdeği için 'include/crypto/df_sp80090a' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Copyright Stephan Mueller <smueller@chronox.de>, 2014 */ #ifndef _CRYPTO_DF80090A_H #define _CRYPTO_DF80090A_H #include <crypto/internal/cipher.h> #include <crypto/aes.h> static inline int crypto_drbg_ctr_df_datalen(u8 statelen, u8 blocklen) { return statelen + ...
Linux işletim sistemi çekirdeği için 'include/crypto/scatterwalk' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Cryptographic scatter and gather helpers. * * Copyright (c) 2002 James Morris <jmorris@intercode.com.au> * Copyright (c) 2002 Adam J. Richter <adam@yggdrasil.com> * Copyright (c) 2004 Jean-Luc Cooke <jlcooke@certainkey.com> * Copyright (c) 2007 Herbert Xu ...
Linux işletim sistemi çekirdeği için 'include/crypto/nh' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * NH hash function for Adiantum */ #ifndef _CRYPTO_NH_H #define _CRYPTO_NH_H #include <linux/types.h> /* NH parameterization: */ /* Endianness: little */ /* Word size: 32 bits (works well on NEON, SSE2, AVX2) */ /* Stride: 2 words (optimal on ARM32 NEON; works okay ...
Linux işletim sistemi çekirdeği için 'include/crypto/authenc' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Authenc: Simple AEAD wrapper for IPsec * * Copyright (c) 2007 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_AUTHENC_H #define _CRYPTO_AUTHENC_H #include <linux/types.h> enum { CRYPTO_AUTHENC_KEYA_UNSPEC, CRYPTO_AUTHENC_KEYA_PARAM, }; struc...
Linux işletim sistemi çekirdeği için 'include/crypto/cast6' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef _CRYPTO_CAST6_H #define _CRYPTO_CAST6_H #include <linux/types.h> #include <linux/crypto.h> #include <crypto/cast_common.h> #define CAST6_BLOCK_SIZE 16 #define CAST6_MIN_KEY_SIZE 16 #define CAST6_MAX_KEY_SIZE 32 struct cast6_ctx { u32 Km[12][4]; u8 Kr[12][4]; }; ...
Linux işletim sistemi çekirdeği için 'include/crypto/poly1305' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for the Poly1305 algorithm */ #ifndef _CRYPTO_POLY1305_H #define _CRYPTO_POLY1305_H #include <linux/types.h> #define POLY1305_BLOCK_SIZE 16 #define POLY1305_KEY_SIZE 32 #define POLY1305_DIGEST_SIZE 16 /* The poly1305_key and poly1305_state types are m...
Linux işletim sistemi çekirdeği için 'include/crypto/chacha20poly1305' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 OR MIT */ /* * Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. */ #ifndef __CHACHA20POLY1305_H #define __CHACHA20POLY1305_H #include <linux/types.h> #include <linux/scatterlist.h> enum chacha20poly1305_lengths { XCHACHA20POLY1305_NONCE_SI...
Linux işletim sistemi çekirdeği için 'include/crypto/sha1' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for SHA-1 algorithms */ #ifndef _CRYPTO_SHA1_H #define _CRYPTO_SHA1_H #include <linux/types.h> #define SHA1_DIGEST_SIZE 20 #define SHA1_BLOCK_SIZE 64 #define SHA1_STATE_SIZE offsetof(struct sha1_state, buffer) #define SHA1_H0 0...
Linux işletim sistemi çekirdeği için 'include/crypto/ecdh' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * ECDH params to be used with kpp API * * Copyright (c) 2016, Intel Corporation * Authors: Salvatore Benedetto <salvatore.benedetto@intel.com> */ #ifndef _CRYPTO_ECDH_ #define _CRYPTO_ECDH_ /** * DOC: ECDH Helper Functions * * To use ECDH with the KPP cip...
Linux işletim sistemi çekirdeği için 'include/crypto/public_key' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Asymmetric public-key algorithm definitions * * See Documentation/crypto/asymmetric-keys.rst * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _LINUX_PUBLIC_KEY_H #define _LINUX_PUBLIC_KEY_...
Linux işletim sistemi çekirdeği için 'include/crypto/aes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for AES algorithms */ #ifndef _CRYPTO_AES_H #define _CRYPTO_AES_H #include <linux/types.h> #include <linux/crypto.h> #define AES_MIN_KEY_SIZE 16 #define AES_MAX_KEY_SIZE 32 #define AES_KEYSIZE_128 16 #define AES_KEYSIZE_192 24 #define AES_KEYSIZE_256...
Linux işletim sistemi çekirdeği için 'include/crypto/sig' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Public Key Signature Algorithm * * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_SIG_H #define _CRYPTO_SIG_H #include <linux/crypto.h> /** * struct crypto_sig - user-instantiated objects which encapsulate * algorithms and...
Linux işletim sistemi çekirdeği için 'include/crypto/dh' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Diffie-Hellman secret to be used with kpp API along with helper functions * * Copyright (c) 2016, Intel Corporation * Authors: Salvatore Benedetto <salvatore.benedetto@intel.com> */ #ifndef _CRYPTO_DH_ #define _CRYPTO_DH_ /** * DOC: DH Helper Functions *...
Linux işletim sistemi çekirdeği için 'include/crypto/drbg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* * DRBG based on NIST SP800-90A * * Copyright Stephan Mueller <smueller@chronox.de>, 2014 * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyri...
Linux işletim sistemi çekirdeği için 'include/crypto/krb5' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* Kerberos 5 crypto * * Copyright (C) 2025 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _CRYPTO_KRB5_H #define _CRYPTO_KRB5_H #include <linux/crypto.h> #include <crypto/aead.h> #include <crypto/hash.h> struct ...
Linux işletim sistemi çekirdeği için 'include/crypto/skcipher' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Symmetric key ciphers. * * Copyright (c) 2007-2015 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_SKCIPHER_H #define _CRYPTO_SKCIPHER_H #include <linux/atomic.h> #include <linux/container_of.h> #include <linux/crypto.h> #include <linux/slab.h...
Linux işletim sistemi çekirdeği için 'include/crypto/utils' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Cryptographic utilities * * Copyright (c) 2023 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_UTILS_H #define _CRYPTO_UTILS_H #include <linux/unaligned.h> #include <linux/compiler_attributes.h> #include <linux/types.h> void __crypto_xor(u8 *ds...
Linux işletim sistemi çekirdeği için 'include/crypto/gf128mul' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* gf128mul.h - GF(2^128) multiplication functions * * Copyright (c) 2003, Dr Brian Gladman, Worcester, UK. * Copyright (c) 2006 Rik Snel <rsnel@cube.dyndns.org> * * Based on Dr Brian Gladman's (GPL'd) work published at * http://fp.gladman.plus.com/cryptography_technology/index.htm * See the original copyri...
Linux işletim sistemi çekirdeği için 'include/crypto/acompress' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Asynchronous Compression operations * * Copyright (c) 2016, Intel Corporation * Authors: Weigang Li <weigang.li@intel.com> * Giovanni Cabiddu <giovanni.cabiddu@intel.com> */ #ifndef _CRYPTO_ACOMP_H #define _CRYPTO_ACOMP_H #include <linux/atomic.h...
Linux işletim sistemi çekirdeği için 'include/crypto/pkcs7' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* PKCS#7 crypto data parser * * Copyright (C) 2012 Red Hat, Inc. All Rights Reserved. * Written by David Howells (dhowells@redhat.com) */ #ifndef _CRYPTO_PKCS7_H #define _CRYPTO_PKCS7_H #include <linux/verification.h> #include <linux/hash_info.h> #include <cry...
Linux işletim sistemi çekirdeği için 'include/crypto/sha3' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for SHA-3 algorithms * * See also Documentation/crypto/sha3.rst */ #ifndef __CRYPTO_SHA3_H__ #define __CRYPTO_SHA3_H__ #include <linux/types.h> #include <linux/string.h> #define SHA3_224_DIGEST_SIZE (224 / 8) #define SHA3_224_BLOCK_SIZE (200 - 2 * SHA...
Linux işletim sistemi çekirdeği için 'include/crypto/aria' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * Cryptographic API. * * ARIA Cipher Algorithm. * * Documentation of ARIA can be found in RFC 5794. * Copyright (c) 2022 Taehee Yoo <ap420073@gmail.com> * Copyright (c) 2022 Taehee Yoo <ap420073@gmail.com> * * Information for ARIA * http://210.104.33...
Linux işletim sistemi çekirdeği için 'include/crypto/blowfish' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for blowfish algorithms */ #ifndef _CRYPTO_BLOWFISH_H #define _CRYPTO_BLOWFISH_H #include <linux/types.h> #include <linux/crypto.h> #define BF_BLOCK_SIZE 8 #define BF_MIN_KEY_SIZE 4 #define BF_MAX_KEY_SIZE 56 struct bf_ctx { u32 p[18]; u32 s[1024]; ...
Linux işletim sistemi çekirdeği için 'include/crypto/ecc_curve' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2021 HiSilicon */ #ifndef _CRYTO_ECC_CURVE_H #define _CRYTO_ECC_CURVE_H #include <linux/types.h> /** * struct ecc_point - elliptic curve point in affine coordinates * * @x: X coordinate in vli form. * @y: Y coordinate in vli form. * @ndigits: Length...
Linux işletim sistemi çekirdeği için 'include/crypto/ghash' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values for the GHASH hash function */ #ifndef __CRYPTO_GHASH_H__ #define __CRYPTO_GHASH_H__ #define GHASH_BLOCK_SIZE 16 #define GHASH_DIGEST_SIZE 16 #endif ```
Linux işletim sistemi çekirdeği için 'include/crypto/arc4' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0+ */ /* * Common values for ARC4 Cipher Algorithm */ #ifndef _CRYPTO_ARC4_H #define _CRYPTO_ARC4_H #include <linux/types.h> #define ARC4_MIN_KEY_SIZE 1 #define ARC4_MAX_KEY_SIZE 256 #define ARC4_BLOCK_SIZE 1 struct arc4_ctx { u32 S[256]; u32 x, y; }; int arc4_setkey(str...
Linux işletim sistemi çekirdeği için 'include/crypto/chacha' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * Common values and helper functions for the ChaCha and XChaCha stream ciphers. * * XChaCha extends ChaCha's nonce to 192 bits, while provably retaining ChaCha's * security. Here they share the same key size, tfm context, and setkey * function; only their IV size and...
Linux işletim sistemi çekirdeği için 'include/crypto/if_alg' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-or-later */ /* * if_alg: User-space algorithm interface * * Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au> */ #ifndef _CRYPTO_IF_ALG_H #define _CRYPTO_IF_ALG_H #include <linux/compiler.h> #include <linux/completion.h> #include <linux/if_alg.h> #include <linux/...
Linux işletim sistemi çekirdeği için 'include/crypto/null' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Values for NULL algorithms */ #ifndef _CRYPTO_NULL_H #define _CRYPTO_NULL_H #define NULL_KEY_SIZE 0 #define NULL_BLOCK_SIZE 1 #define NULL_DIGEST_SIZE 0 #define NULL_IV_SIZE 0 #endif ```