instruction
stringlengths
82
202
input
stringclasses
1 value
output
stringlengths
73
23.9M
Linux kernel'inin 'drivers/crypto/intel/qat/qat_c3xxxvf/adf_drv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2014 - 2020 Intel Corporation */ #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/init.h> #include <linux/types.h> #include <linux/fs.h> #include <linux/slab.h> #include <linux/errno.h> #include <li...
Linux kernel'inin 'drivers/crypto/intel/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) /* Copyright(c) 2015 - 2021 Intel Corporation */ #include <adf_accel_devices.h> #include <adf_common_drv.h> #include <adf_gen2_config.h> #include <adf_gen2_hw_csr_data.h> #include <adf_gen2_hw_data.h> #include <adf_gen2_pfvf.h> #include <adf_pfvf_vf_msg.h>...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: (BSD-3-Clause OR GPL-2.0-only) */ /* Copyright(c) 2015 - 2020 Intel Corporation */ #ifndef ADF_C3XXXVF_HW_DATA_H_ #define ADF_C3XXXVF_HW_DATA_H_ #define ADF_C3XXXIOV_PMISC_BAR 1 #define ADF_C3XXXIOV_ACCELERATORS_MASK 0x1 #define ADF_C3XXXIOV_ACCELENGINES_MASK 0x1 #define ADF_C3XXXIOV_M...
Linux kernel'inin 'drivers/crypto/intel/keembay/keembay-ocs-hcu-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Intel Keem Bay OCS HCU Crypto Driver. * * Copyright (C) 2018-2020 Intel Corporation */ #include <crypto/engine.h> #include <crypto/hmac.h> #include <crypto/internal/hash.h> #include <crypto/scatterwalk.h> #include <crypto/sha2.h> #include <crypto/sm3.h> #include <...
Linux kernel'inin 'drivers/crypto/intel/keembay/keembay-ocs-aes-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Intel Keem Bay OCS AES Crypto Driver. * * Copyright (C) 2018-2020 Intel Corporation */ #include <crypto/aes.h> #include <crypto/engine.h> #include <crypto/gcm.h> #include <crypto/internal/aead.h> #include <crypto/internal/skcipher.h> #include <crypto/scatterwalk.h...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/keembay/ocs-hcu' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Intel Keem Bay OCS HCU Crypto Driver. * * Copyright (C) 2018-2020 Intel Corporation */ #include <linux/dma-mapping.h> #ifndef _CRYPTO_OCS_HCU_H #define _CRYPTO_OCS_HCU_H #define OCS_HCU_DMA_BIT_MASK DMA_BIT_MASK(32) #define OCS_HCU_HW_KEY_LEN 64 struct oc...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/keembay/ocs-aes' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Intel Keem Bay OCS AES Crypto Driver. * * Copyright (C) 2018-2020 Intel Corporation */ #ifndef _CRYPTO_OCS_AES_H #define _CRYPTO_OCS_AES_H #include <linux/dma-mapping.h> enum ocs_cipher { OCS_AES = 0, OCS_SM4 = 1, }; enum ocs_mode { OCS_MODE_ECB = 0, OCS...
Linux kernel'inin 'drivers/crypto/intel/keembay/keembay-ocs-ecc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Intel Keem Bay OCS ECC Crypto Driver. * * Copyright (C) 2019-2021 Intel Corporation */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include <crypto/ecc_curve.h> #include <crypto/ecdh.h> #include <crypto/engine.h> #include <crypto/internal/ecc.h> #include <crypto/...
Linux kernel'inin 'drivers/crypto/intel/keembay/ocs-hcu' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Intel Keem Bay OCS HCU Crypto Driver. * * Copyright (C) 2018-2020 Intel Corporation */ #include <linux/delay.h> #include <linux/device.h> #include <linux/iopoll.h> #include <linux/irq.h> #include <linux/module.h> #include <crypto/sha2.h> #include "ocs-hcu.h" /*...
Linux kernel'inin 'drivers/crypto/intel/keembay/ocs-aes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Intel Keem Bay OCS AES Crypto Driver. * * Copyright (C) 2018-2020 Intel Corporation */ #include <linux/dma-mapping.h> #include <linux/interrupt.h> #include <linux/kernel.h> #include <linux/platform_device.h> #include <linux/slab.h> #include <linux/swab.h> #includ...
Linux kernel'inin 'drivers/crypto/intel/iaa/iaa_crypto_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2021 Intel Corporation. All rights rsvd. */ #include <linux/init.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/sysfs.h> #include <linux/device.h> #include <linux/iommu.h> #include <uapi/linux/idxd.h> #include <linu...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/iaa/iaa_crypto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2021 Intel Corporation. All rights rsvd. */ #ifndef __IAA_CRYPTO_H__ #define __IAA_CRYPTO_H__ #include <linux/crypto.h> #include <linux/idxd.h> #include <uapi/linux/idxd.h> #define IDXD_SUBDRIVER_NAME "crypto" #define IAA_DECOMP_ENABLE BIT(0) #define IAA...
Linux kernel'inin 'drivers/crypto/intel/iaa/iaa_crypto_comp_fixed' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2021 Intel Corporation. All rights rsvd. */ #include "idxd.h" #include "iaa_crypto.h" /* * Fixed Huffman tables the IAA hardware requires to implement RFC-1951. */ static const u32 fixed_ll_sym[286] = { 0x40030, 0x40031, 0x40032, 0x40033, 0x40034, 0x40035, 0...
Linux işletim sistemi çekirdeği için 'drivers/crypto/intel/iaa/iaa_crypto_stats' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright(c) 2021 Intel Corporation. All rights rsvd. */ #ifndef __CRYPTO_DEV_IAA_CRYPTO_STATS_H__ #define __CRYPTO_DEV_IAA_CRYPTO_STATS_H__ #if defined(CONFIG_CRYPTO_DEV_IAA_CRYPTO_STATS) int iaa_crypto_debugfs_init(void); void iaa_crypto_debugfs_cleanup(void); void up...
Linux kernel'inin 'drivers/crypto/intel/iaa/iaa_crypto_stats' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright(c) 2021 Intel Corporation. All rights rsvd. */ #include <linux/module.h> #include <linux/kernel.h> #include <linux/highmem.h> #include <linux/mm.h> #include <linux/slab.h> #include <linux/delay.h> #include <linux/smp.h> #include <uapi/linux/idxd.h> #include <linux/...
Linux kernel'inin 'drivers/crypto/intel/ixp4xx/ixp4xx_crypto' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Intel IXP4xx NPE-C crypto driver * * Copyright (C) 2008 Christian Hohnstaedt <chohnstaedt@innominate.com> */ #include <linux/platform_device.h> #include <linux/dma-mapping.h> #include <linux/dmapool.h> #include <linux/crypto.h> #include <linux/kernel.h> #include <...
Linux işletim sistemi çekirdeği için 'drivers/crypto/allwinner/sun8i-ce/sun8i-ce' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * sun8i-ce.h - hardware cryptographic offloader for * Allwinner H3/A64/H5/H2+/H6 SoC * * Copyright (C) 2016-2019 Corentin LABBE <clabbe.montjoie@gmail.com> */ #include <crypto/aes.h> #include <crypto/des.h> #include <crypto/engine.h> #include <crypto/skcipher.h> #incl...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ce-cipher.c - hardware cryptographic offloader for * Allwinner H3/A64/H5/H2+/H6/R40 SoC * * Copyright (C) 2016-2019 Corentin LABBE <clabbe.montjoie@gmail.com> * * This file add support for AES cipher with 128,192,256 bits keysize in * CBC and ECB mode. * * Yo...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ce/sun8i-ce-trng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ce-trng.c - hardware cryptographic offloader for * Allwinner H3/A64/H5/H2+/H6/R40 SoC * * Copyright (C) 2015-2020 Corentin Labbe <clabbe@baylibre.com> * * This file handle the TRNG * * You could find a link for the datasheet in Documentation/arch/arm/sunxi.rst...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ce-prng.c - hardware cryptographic offloader for * Allwinner H3/A64/H5/H2+/H6/R40 SoC * * Copyright (C) 2015-2020 Corentin Labbe <clabbe@baylibre.com> * * This file handle the PRNG * * You could find a link for the datasheet in Documentation/arch/arm/sunxi.rst...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ce-core.c - hardware cryptographic offloader for * Allwinner H3/A64/H5/H2+/H6/R40 SoC * * Copyright (C) 2015-2019 Corentin Labbe <clabbe.montjoie@gmail.com> * * Core file which registers crypto algorithms supported by the CryptoEngine. * * You could find a lin...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ce-hash.c - hardware cryptographic offloader for * Allwinner H3/A64/H5/H2+/H6/R40 SoC * * Copyright (C) 2015-2020 Corentin Labbe <clabbe@baylibre.com> * * This file add support for MD5 and SHA1/SHA224/SHA256/SHA384/SHA512. * * You could find the datasheet in D...
Linux kernel'inin 'drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later #include "sun4i-ss.h" int sun4i_ss_prng_seed(struct crypto_rng *tfm, const u8 *seed, unsigned int slen) { struct sun4i_ss_alg_template *algt; struct rng_alg *alg = crypto_rng_alg(tfm); algt = container_of(alg, struct sun4i_ss_alg_template, alg.rng); memcp...
Linux kernel'inin 'drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * sun4i-ss-core.c - hardware cryptographic accelerator for Allwinner A20 SoC * * Copyright (C) 2013-2015 Corentin LABBE <clabbe.montjoie@gmail.com> * * Core file which registers crypto algorithms supported by the SS. * * You could find a link for the datasheet...
Linux kernel'inin 'drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * sun4i-ss-cipher.c - hardware cryptographic accelerator for Allwinner A20 SoC * * Copyright (C) 2013-2015 Corentin LABBE <clabbe.montjoie@gmail.com> * * This file add support for AES cipher with 128,192,256 bits * keysize in CBC and ECB mode. * Add support al...
Linux işletim sistemi çekirdeği için 'drivers/crypto/allwinner/sun4i-ss/sun4i-ss' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * sun4i-ss.h - hardware cryptographic accelerator for Allwinner A20 SoC * * Copyright (C) 2013-2015 Corentin LABBE <clabbe.montjoie@gmail.com> * * Support AES cipher with 128,192,256 bits keysize. * Support MD5 and SHA1 hash algorithms. * Support DES and 3DES ...
Linux kernel'inin 'drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * sun4i-ss-hash.c - hardware cryptographic accelerator for Allwinner A20 SoC * * Copyright (C) 2013-2015 Corentin LABBE <clabbe.montjoie@gmail.com> * * This file add support for MD5 and SHA1. * * You could find the datasheet in Documentation/arch/arm/sunxi.rst...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ss-cipher.c - hardware cryptographic offloader for * Allwinner A80/A83T SoC * * Copyright (C) 2016-2019 Corentin LABBE <clabbe.montjoie@gmail.com> * * This file add support for AES cipher with 128,192,256 bits keysize in * CBC and ECB mode. * * You could find...
Linux işletim sistemi çekirdeği için 'drivers/crypto/allwinner/sun8i-ss/sun8i-ss' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * sun8i-ss.h - hardware cryptographic offloader for * Allwinner A80/A83T SoC * * Copyright (C) 2016-2019 Corentin LABBE <clabbe.montjoie@gmail.com> */ #include <crypto/aes.h> #include <crypto/des.h> #include <crypto/engine.h> #include <crypto/rng.h> #include <crypto/s...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ss-hash.c - hardware cryptographic offloader for * Allwinner A80/A83T SoC * * Copyright (C) 2015-2020 Corentin Labbe <clabbe@baylibre.com> * * This file add support for MD5 and SHA1/SHA224/SHA256. * * You could find the datasheet in Documentation/arch/arm/sunx...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ss-core.c - hardware cryptographic offloader for * Allwinner A80/A83T SoC * * Copyright (C) 2015-2019 Corentin Labbe <clabbe.montjoie@gmail.com> * * Core file which registers crypto algorithms supported by the SecuritySystem * * You could find a link for the d...
Linux kernel'inin 'drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * sun8i-ss-prng.c - hardware cryptographic offloader for * Allwinner A80/A83T SoC * * Copyright (C) 2015-2020 Corentin Labbe <clabbe@baylibre.com> * * This file handle the PRNG found in the SS * * You could find a link for the datasheet in Documentation/arch/arm/sunxi...
Linux işletim sistemi çekirdeği için 'drivers/crypto/qce/dma' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2011-2014, The Linux Foundation. All rights reserved. */ #ifndef _DMA_H_ #define _DMA_H_ #include <linux/dmaengine.h> /* maximum data transfer block size between BAM and CE */ #define QCE_BAM_BURST_SIZE 64 #define QCE_AUTHIV_REGS_CNT 16 #define...
Linux kernel'inin 'drivers/crypto/qce/sha' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/interrupt.h> #include <linux/string.h> #include <crypto/internal/hash.h> #include "common.h" #include "core.h" #include "...
Linux işletim sistemi çekirdeği için 'drivers/crypto/qce/cipher' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #ifndef _CIPHER_H_ #define _CIPHER_H_ #include "common.h" #include "core.h" #define QCE_MAX_KEY_SIZE 64 struct qce_cipher_ctx { u8 enc_key[QCE_MAX_KEY_SIZE]; unsigned int enc_keylen; str...
Linux işletim sistemi çekirdeği için 'drivers/crypto/qce/aead' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2021, Linaro Limited. All rights reserved. */ #ifndef _AEAD_H_ #define _AEAD_H_ #include "common.h" #include "core.h" #define QCE_MAX_KEY_SIZE 64 #define QCE_CCM4309_SALT_SIZE 3 struct qce_aead_ctx { u8 enc_key[QCE_MAX_KEY_SIZE]; u8 auth_key[...
Linux kernel'inin 'drivers/crypto/qce/aead' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (C) 2021, Linaro Limited. All rights reserved. */ #include <linux/dma-mapping.h> #include <linux/interrupt.h> #include <linux/string.h> #include <crypto/gcm.h> #include <crypto/authenc.h> #include <crypto/internal/aead.h> #include <crypto/internal/des.h> #...
Linux işletim sistemi çekirdeği için 'drivers/crypto/qce/sha' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #ifndef _SHA_H_ #define _SHA_H_ #include <crypto/scatterwalk.h> #include <crypto/sha1.h> #include <crypto/sha2.h> #include "common.h" #include "core.h" #define QCE_SHA_MAX_BLOCKSIZE SHA256...
Linux işletim sistemi çekirdeği için 'drivers/crypto/qce/core' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #ifndef _CORE_H_ #define _CORE_H_ #include <linux/mutex.h> #include <linux/workqueue.h> #include "dma.h" /** * struct qce_device - crypto engine device structure * @queue: crypto request ...
Linux işletim sistemi çekirdeği için 'drivers/crypto/qce/regs-v5' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. */ #ifndef _REGS_V5_H_ #define _REGS_V5_H_ #include <linux/bitops.h> #define REG_VERSION 0x000 #define REG_STATUS 0x100 #define REG_STATUS2 0x104 #define REG_ENGINES_AVAIL 0x108 #define ...
Linux kernel'inin 'drivers/crypto/qce/core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #include <linux/cleanup.h> #include <linux/clk.h> #include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/interconnect.h> #include <linux/interrupt.h> #include <linux/module.h> #...
Linux kernel'inin 'drivers/crypto/qce/dma' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. */ #include <linux/device.h> #include <linux/dmaengine.h> #include <crypto/scatterwalk.h> #include "dma.h" static void qce_dma_release(void *data) { struct qce_dma_data *dma = data; dma_release...
Linux kernel'inin 'drivers/crypto/qce/common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2012-2014, The Linux Foundation. All rights reserved. */ #include <crypto/internal/hash.h> #include <linux/err.h> #include <linux/interrupt.h> #include <linux/types.h> #include <crypto/scatterwalk.h> #include <crypto/sha1.h> #include <crypto/sha2.h> #...
Linux işletim sistemi çekirdeği için 'drivers/crypto/qce/common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #ifndef _COMMON_H_ #define _COMMON_H_ #include <linux/crypto.h> #include <linux/types.h> #include <crypto/aes.h> #include <crypto/hash.h> #include <crypto/internal/skcipher.h> #include <crypt...
Linux kernel'inin 'drivers/crypto/qce/skcipher' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Copyright (c) 2010-2014, The Linux Foundation. All rights reserved. */ #include <linux/device.h> #include <linux/dma-mapping.h> #include <linux/interrupt.h> #include <linux/moduleparam.h> #include <linux/string.h> #include <linux/types.h> #include <linux/errno.h> #i...
Linux işletim sistemi çekirdeği için 'drivers/crypto/ti/dthev2-common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only */ /* * K3 DTHE V2 crypto accelerator driver * * Copyright (C) Texas Instruments 2025 - https://www.ti.com * Author: T Pratham <t-pratham@ti.com> */ #ifndef __TI_DTHEV2_H__ #define __TI_DTHEV2_H__ #include <crypto/aead.h> #include <crypto/aes.h> #include <crypto/alga...
Linux kernel'inin 'drivers/crypto/ti/dthev2-common' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * K3 DTHE V2 crypto accelerator driver * * Copyright (C) Texas Instruments 2025 - https://www.ti.com * Author: T Pratham <t-pratham@ti.com> */ #include <crypto/aes.h> #include <crypto/algapi.h> #include <crypto/engine.h> #include <crypto/internal/aead.h> #include <...
Linux kernel'inin 'drivers/crypto/ti/dthev2-aes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * K3 DTHE V2 crypto accelerator driver * * Copyright (C) Texas Instruments 2025 - https://www.ti.com * Author: T Pratham <t-pratham@ti.com> */ #include <crypto/aead.h> #include <crypto/aes.h> #include <crypto/algapi.h> #include <crypto/engine.h> #include <crypto/gc...
Linux işletim sistemi çekirdeği için 'drivers/crypto/hisilicon/qm_common' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2022 HiSilicon Limited. */ #ifndef QM_COMMON_H #define QM_COMMON_H #define QM_DBG_READ_LEN 256 struct qm_cqe { __le32 rsvd0; __le16 cmd_id; __le16 rsvd1; __le16 sq_head; __le16 sq_num; __le16 rsvd2; __le16 w7; }; struct qm_eqe { __le32 dw0; }; st...
Linux kernel'inin 'drivers/crypto/hisilicon/qm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include <asm/page.h> #include <linux/acpi.h> #include <linux/bitmap.h> #include <linux/dma-mapping.h> #include <linux/idr.h> #include <linux/io.h> #include <linux/irqreturn.h> #include <linux/log2.h> #include <linux/pm_runtime.h> #inc...
Linux kernel'inin 'drivers/crypto/hisilicon/sgl' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include <linux/align.h> #include <linux/dma-mapping.h> #include <linux/hisi_acc_qm.h> #include <linux/module.h> #include <linux/slab.h> #define HISI_ACC_SGL_SGE_NR_MIN 1 #define HISI_ACC_SGL_NR_MAX 256 #define HISI_ACC_SGL_ALIGN_SI...
Linux kernel'inin 'drivers/crypto/hisilicon/debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2022 HiSilicon Limited. */ #include <linux/hisi_acc_qm.h> #include "qm_common.h" #define QM_DFX_BASE 0x0100000 #define QM_DFX_STATE1 0x0104000 #define QM_DFX_STATE2 0x01040C8 #define QM_DFX_COMMON 0x0000 #define QM_DFX_BASE_LEN 0x5A #define QM_DFX_STA...
Linux kernel'inin 'drivers/crypto/hisilicon/sec/sec_algs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2016-2017 HiSilicon Limited. */ #include <linux/crypto.h> #include <linux/dma-mapping.h> #include <linux/dmapool.h> #include <linux/module.h> #include <linux/mutex.h> #include <linux/slab.h> #include <crypto/aes.h> #include <crypto/algapi.h> #include <crypto/in...
Linux işletim sistemi çekirdeği için 'drivers/crypto/hisilicon/sec/sec_drv' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2016-2017 HiSilicon Limited. */ #ifndef _SEC_DRV_H_ #define _SEC_DRV_H_ #include <crypto/algapi.h> #include <linux/kfifo.h> #define SEC_MAX_SGE_NUM 64 #define SEC_HW_RING_NUM 3 #define SEC_CMD_RING 0 #define SEC_OUTORDER_RING 1 #define SEC_DBG_RING...
Linux kernel'inin 'drivers/crypto/hisilicon/sec/sec_drv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Driver for the HiSilicon SEC units found on Hip06 Hip07 * * Copyright (c) 2016-2017 HiSilicon Limited. */ #include <linux/acpi.h> #include <linux/atomic.h> #include <linux/delay.h> #include <linux/dma-direction.h> #include <linux/dma-mapping.h> #include <linux/dmapool.h...
Linux kernel'inin 'drivers/crypto/hisilicon/trng/trng' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include <crypto/internal/rng.h> #include <linux/acpi.h> #include <linux/crypto.h> #include <linux/err.h> #include <linux/hw_random.h> #include <linux/io.h> #include <linux/iopoll.h> #include <linux/kernel.h> #include <linux/list.h> #...
Linux kernel'inin 'drivers/crypto/hisilicon/sec2/sec_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include <linux/acpi.h> #include <linux/bitops.h> #include <linux/debugfs.h> #include <linux/init.h> #include <linux/io.h> #include <linux/iommu.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <l...
Linux işletim sistemi çekirdeği için 'drivers/crypto/hisilicon/sec2/sec_crypto' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019 HiSilicon Limited. */ #ifndef __HISI_SEC_V2_CRYPTO_H #define __HISI_SEC_V2_CRYPTO_H #define SEC_AIV_SIZE 12 #define SEC_IV_SIZE 24 #define SEC_MAX_KEY_SIZE 64 #define SEC_MAX_AKEY_SIZE 128 #define SEC_COMM_SCENE 0 #define SEC_MIN_BLOCK_SZ 1 enum se...
Linux kernel'inin 'drivers/crypto/hisilicon/sec2/sec_crypto' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include <crypto/aes.h> #include <crypto/aead.h> #include <crypto/algapi.h> #include <crypto/authenc.h> #include <crypto/des.h> #include <crypto/hash.h> #include <crypto/internal/aead.h> #include <crypto/internal/des.h> #include <cryp...
Linux işletim sistemi çekirdeği için 'drivers/crypto/hisilicon/sec2/sec' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019 HiSilicon Limited. */ #ifndef __HISI_SEC_V2_H #define __HISI_SEC_V2_H #include <linux/hisi_acc_qm.h> #include "sec_crypto.h" #define SEC_PBUF_SZ 512 #define SEC_MAX_MAC_LEN 64 #define SEC_IV_SIZE 24 #define SEC_SGE_NR_NUM 4 #define SEC_SGL_ALIGN_S...
Linux işletim sistemi çekirdeği için 'drivers/crypto/hisilicon/hpre/hpre' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019 HiSilicon Limited. */ #ifndef __HISI_HPRE_H #define __HISI_HPRE_H #include <linux/list.h> #include <linux/hisi_acc_qm.h> #define HPRE_SQE_SIZE sizeof(struct hpre_sqe) #define HPRE_PF_DEF_Q_NUM 64 #define HPRE_PF_DEF_Q_BASE 0 /* * type used in qm ...
Linux kernel'inin 'drivers/crypto/hisilicon/hpre/hpre_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2018-2019 HiSilicon Limited. */ #include <linux/acpi.h> #include <linux/bitops.h> #include <linux/debugfs.h> #include <linux/init.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/pm_runtime.h> #i...
Linux kernel'inin 'drivers/crypto/hisilicon/hpre/hpre_crypto' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include <crypto/akcipher.h> #include <crypto/dh.h> #include <crypto/ecc_curve.h> #include <crypto/ecdh.h> #include <crypto/rng.h> #include <crypto/internal/akcipher.h> #include <crypto/internal/kpp.h> #include <crypto/internal/rsa.h> ...
Linux kernel'inin 'drivers/crypto/hisilicon/zip/zip_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include <linux/acpi.h> #include <linux/bitops.h> #include <linux/debugfs.h> #include <linux/init.h> #include <linux/io.h> #include <linux/kernel.h> #include <linux/module.h> #include <linux/pci.h> #include <linux/pm_runtime.h> #includ...
Linux kernel'inin 'drivers/crypto/hisilicon/zip/dae_main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2024 HiSilicon Limited. */ #include <linux/bitops.h> #include <linux/io.h> #include <linux/uacce.h> #include "zip.h" /* memory */ #define DAE_MEM_START_OFFSET 0x331040 #define DAE_MEM_DONE_OFFSET 0x331044 #define DAE_MEM_START_MASK 0x1 #define DAE_MEM_DONE_...
Linux işletim sistemi çekirdeği için 'drivers/crypto/hisilicon/zip/zip' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* Copyright (c) 2019 HiSilicon Limited. */ #ifndef HISI_ZIP_H #define HISI_ZIP_H #undef pr_fmt #define pr_fmt(fmt) "hisi_zip: " fmt #include <linux/list.h> #include <linux/hisi_acc_qm.h> enum hisi_zip_error_type { /* negative compression */ HZIP_NC_ERR = 0x0d, }; struc...
Linux kernel'inin 'drivers/crypto/hisilicon/zip/zip_crypto' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* Copyright (c) 2019 HiSilicon Limited. */ #include <crypto/internal/acompress.h> #include <linux/bitfield.h> #include <linux/bitmap.h> #include <linux/dma-mapping.h> #include <linux/scatterlist.h> #include "zip.h" /* hisi_zip_sqe dw3 */ #define HZIP_BD_STATUS_M GENMASK(7, 0...
Linux işletim sistemi çekirdeği için 'drivers/crypto/tegra/tegra-se' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0-only * SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. * * Header file for NVIDIA Security Engine driver. */ #ifndef _TEGRA_SE_H #define _TEGRA_SE_H #include <linux/bitfield.h> #include <linux/iommu.h> #include <linux/host1x...
Linux kernel'inin 'drivers/crypto/tegra/tegra-se-main' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only // SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. /* * Crypto driver for NVIDIA Security Engine in Tegra Chips */ #include <linux/clk.h> #include <linux/dma-mapping.h> #include <linux/module.h> #include <linux/platform_de...
Linux kernel'inin 'drivers/crypto/tegra/tegra-se-key' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only // SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. /* * Crypto driver file to manage keys of NVIDIA Security Engine. */ #include <linux/bitops.h> #include <linux/module.h> #include <crypto/aes.h> #include "tegra-se.h" #d...
Linux kernel'inin 'drivers/crypto/tegra/tegra-se-hash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only // SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. /* * Crypto driver to handle HASH algorithms using NVIDIA Security Engine. */ #include <linux/bottom_half.h> #include <linux/clk.h> #include <linux/dma-mapping.h> #include...
Linux kernel'inin 'drivers/crypto/tegra/tegra-se-aes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only // SPDX-FileCopyrightText: Copyright (c) 2023 NVIDIA CORPORATION & AFFILIATES. All rights reserved. /* * Crypto driver to handle block cipher algorithms using NVIDIA Security Engine. */ #include <linux/bottom_half.h> #include <linux/clk.h> #include <linux/dma-mapping.h> ...
Linux kernel'inin 'drivers/crypto/nx/nx-common-pseries' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Driver for IBM Power 842 compression accelerator * * Copyright (C) IBM Corporation, 2012 * * Authors: Robert Jennings <rcj@linux.vnet.ibm.com> * Seth Jennings <sjenning@linux.vnet.ibm.com> */ #include <asm/vio.h> #include <asm/hvcall.h> #include <a...
Linux kernel'inin 'drivers/crypto/nx/nx_debugfs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * debugfs routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2011-2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <linux/device.h> #include <linux/kobject.h> #include <linux/string.h> #inclu...
Linux kernel'inin 'drivers/crypto/nx/nx-aes-xcbc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES XCBC routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2011-2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/aes.h> #include <crypto/internal/hash.h> #include <linux/atomic.h> ...
Linux kernel'inin 'drivers/crypto/nx/nx-aes-ccm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES CCM routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/internal/aead.h> #include <crypto/aes.h> #include <crypto/algapi.h> #incl...
Linux kernel'inin 'drivers/crypto/nx/nx-842' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Cryptographic API for the NX-842 hardware compression. * * Copyright (C) IBM Corporation, 2011-2015 * * Designer of the Power data compression engine: * Bulent Abali <abali@us.ibm.com> * * Original Authors: Robert Jennings <rcj@linux.vnet.ibm.com> * ...
Linux kernel'inin 'drivers/crypto/nx/nx-sha512' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * SHA-512 routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2011-2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/internal/hash.h> #include <crypto/sha2.h> #include <linux/errno.h> #...
Linux kernel'inin 'drivers/crypto/nx/nx-sha256' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * SHA-256 routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2011-2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/internal/hash.h> #include <crypto/sha2.h> #include <linux/errno.h> #...
Linux kernel'inin 'drivers/crypto/nx/nx-aes-cbc' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES CBC routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2011-2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/aes.h> #include <crypto/internal/skcipher.h> #include <linux/err.h> ...
Linux işletim sistemi çekirdeği için 'drivers/crypto/nx/nx-842' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NX_842_H__ #define __NX_842_H__ #include <linux/kernel.h> #include <linux/init.h> #include <linux/module.h> #include <linux/of.h> #include <linux/slab.h> #include <linux/io.h> #include <linux/mm.h> #include <linux/ratelimit.h> /* Restrictions on Data Descriptor L...
Linux işletim sistemi çekirdeği için 'drivers/crypto/nx/nx' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NX_H__ #define __NX_H__ #include <asm/vio.h> #include <crypto/ctr.h> #include <crypto/internal/aead.h> #include <crypto/internal/hash.h> #include <crypto/internal/skcipher.h> #define NX_NAME "nx-crypto" #define NX_STRING "IBM Power7+ Nest Accelerator Crypto Driv...
Linux kernel'inin 'drivers/crypto/nx/nx-aes-ctr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES CTR routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2011-2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/aes.h> #include <crypto/ctr.h> #include <crypto/internal/skcipher.h>...
Linux kernel'inin 'drivers/crypto/nx/nx' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * Routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2011-2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/aes.h> #include <crypto/internal/aead.h> #include <crypto/internal/hash.h> #...
Linux kernel'inin 'drivers/crypto/nx/nx-common-powernv' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* * Driver for IBM PowerNV compression accelerator * * Copyright (C) 2015 Dan Streetman, IBM Corp */ #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt #include "nx-842.h" #include <crypto/internal/scompress.h> #include <linux/timer.h> #include <asm/prom.h> #include <...
Linux işletim sistemi çekirdeği için 'drivers/crypto/nx/nx_csbcpb' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __NX_CSBCPB_H__ #define __NX_CSBCPB_H__ struct cop_symcpb_aes_ecb { u8 key[32]; u8 __rsvd[80]; } __packed; struct cop_symcpb_aes_cbc { u8 iv[16]; u8 key[32]; u8 cv[16]; u32 spbc; u8 __rsvd[44]; } __packed; struct cop_symcpb_aes_gca { u8 in_pat[16]; u8 key...
Linux kernel'inin 'drivers/crypto/nx/nx-aes-gcm' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES GCM routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/internal/aead.h> #include <crypto/aes.h> #include <crypto/algapi.h> #incl...
Linux kernel'inin 'drivers/crypto/nx/nx-aes-ecb' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-only /* * AES ECB routines supporting the Power 7+ Nest Accelerators driver * * Copyright (C) 2011-2012 International Business Machines Inc. * * Author: Kent Yoder <yoder1@us.ibm.com> */ #include <crypto/aes.h> #include <crypto/internal/skcipher.h> #include <linux/err.h> ...
Linux kernel'inin 'drivers/crypto/amlogic/amlogic-gxl-core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * amlgoic-core.c - hardware cryptographic offloader for Amlogic GXL SoC * * Copyright (C) 2018-2019 Corentin Labbe <clabbe@baylibre.com> * * Core file which registers crypto algorithms supported by the hardware. */ #include <crypto/engine.h> #include <crypto/internal/s...
Linux kernel'inin 'drivers/crypto/amlogic/amlogic-gxl-cipher' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * amlogic-cipher.c - hardware cryptographic offloader for Amlogic GXL SoC * * Copyright (C) 2018-2019 Corentin LABBE <clabbe@baylibre.com> * * This file add support for AES cipher with 128,192,256 bits keysize in * CBC and ECB mode. */ #include <linux/crypto.h> #inclu...
Linux işletim sistemi çekirdeği için 'drivers/crypto/amlogic/amlogic-gxl' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ /* * amlogic.h - hardware cryptographic offloader for Amlogic SoC * * Copyright (C) 2018-2019 Corentin LABBE <clabbe@baylibre.com> */ #include <crypto/aes.h> #include <crypto/engine.h> #include <crypto/skcipher.h> #include <linux/debugfs.h> #include <linux/crypto.h> #incl...
Linux kernel'inin 'drivers/crypto/starfive/jh7110-hash' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Hash function and HMAC support for StarFive driver * * Copyright (c) 2022 StarFive Technology * */ #include <crypto/engine.h> #include <crypto/internal/hash.h> #include <crypto/scatterwalk.h> #include "jh7110-cryp.h" #include <linux/amba/pl080.h> #include <linux/clk.h...
Linux kernel'inin 'drivers/crypto/starfive/jh7110-rsa' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * StarFive Public Key Algo acceleration driver * * Copyright (c) 2022 StarFive Technology */ #include <linux/crypto.h> #include <linux/iopoll.h> #include <crypto/akcipher.h> #include <crypto/algapi.h> #include <crypto/internal/akcipher.h> #include <crypto/internal/rsa.h>...
Linux kernel'inin 'drivers/crypto/starfive/jh7110-aes' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * StarFive AES acceleration driver * * Copyright (c) 2022 StarFive Technology */ #include <crypto/engine.h> #include <crypto/gcm.h> #include <crypto/internal/aead.h> #include <crypto/internal/skcipher.h> #include <crypto/scatterwalk.h> #include "jh7110-cryp.h" #include <...
Linux kernel'inin 'drivers/crypto/starfive/jh7110-cryp' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0 /* * Cryptographic API. * * Support for StarFive hardware cryptographic engine. * Copyright (c) 2022 StarFive Technology * */ #include <crypto/engine.h> #include "jh7110-cryp.h" #include <linux/clk.h> #include <linux/completion.h> #include <linux/err.h> #include <linux/in...
Linux işletim sistemi çekirdeği için 'drivers/crypto/starfive/jh7110-cryp' yapılarının ve prototiplerinin bulunduğu C Header dosyasını yaz.
```c /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __STARFIVE_STR_H__ #define __STARFIVE_STR_H__ #include <crypto/aes.h> #include <crypto/hash.h> #include <crypto/scatterwalk.h> #include <crypto/sha2.h> #include <crypto/sm3.h> #include <linux/delay.h> #include <linux/dma-mapping.h> #include <linux/dmaengine.h> #inclu...
Linux kernel'inin 'drivers/crypto/virtio/virtio_crypto_akcipher_algs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* Asymmetric algorithms supported by virtio crypto device * * Authors: zhenwei pi <pizhenwei@bytedance.com> * lei he <helei.sig11@bytedance.com> * * Copyright 2022 Bytedance CO., LTD. */ #include <crypto/engine.h> #include <crypto/internal/akciph...
Linux kernel'inin 'drivers/crypto/virtio/virtio_crypto_mgr' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* Management for virtio crypto devices (refer to adf_dev_mgr.c) * * Copyright 2016 HUAWEI TECHNOLOGIES CO., LTD. */ #include <linux/mutex.h> #include <linux/list.h> #include <linux/module.h> #include <uapi/linux/virtio_crypto.h> #include "virtio_crypto_common....
Linux kernel'inin 'drivers/crypto/virtio/virtio_crypto_core' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* Driver for Virtio crypto device. * * Copyright 2016 HUAWEI TECHNOLOGIES CO., LTD. */ #include <linux/err.h> #include <linux/module.h> #include <linux/virtio_config.h> #include <linux/cpu.h> #include <uapi/linux/virtio_crypto.h> #include "virtio_crypto_common...
Linux kernel'inin 'drivers/crypto/virtio/virtio_crypto_skcipher_algs' alt sistemi için gerekli C kaynak kodunu implemente et.
```c // SPDX-License-Identifier: GPL-2.0-or-later /* Algorithms supported by virtio crypto device * * Authors: Gonglei <arei.gonglei@huawei.com> * * Copyright 2016 HUAWEI TECHNOLOGIES CO., LTD. */ #include <crypto/engine.h> #include <crypto/internal/skcipher.h> #include <crypto/scatterwalk.h> #include <linu...