Home
last modified time | relevance | path

Searched full:sha256 (Results 1 – 25 of 220) sorted by relevance

123456789

/linux-6.14.4/arch/x86/crypto/
Dsha256_ssse3_glue.c4 * Glue code for the SHA256 Secure Hash Algorithm assembler implementations
68 * Make sure struct sha256_state begins directly with the SHA256 in _sha256_update()
129 .cra_name = "sha256",
130 .cra_driver_name = "sha256-ssse3",
202 .cra_name = "sha256",
203 .cra_driver_name = "sha256-avx",
286 .cra_name = "sha256",
287 .cra_driver_name = "sha256-avx2",
369 .cra_name = "sha256",
370 .cra_driver_name = "sha256-ni",
[all …]
DMakefile62 obj-$(CONFIG_CRYPTO_SHA256_SSSE3) += sha256-ssse3.o
63 sha256-ssse3-y := sha256-ssse3-asm.o sha256-avx-asm.o sha256-avx2-asm.o sha256_ssse3_glue.o
64 sha256-ssse3-$(CONFIG_AS_SHA256_NI) += sha256_ni_asm.o
/linux-6.14.4/crypto/
Dsha256_generic.c3 * Crypto API wrapper for the generic SHA256 code from lib/crypto/sha256.c
69 .cra_name = "sha256",
70 .cra_driver_name= "sha256-generic",
109 MODULE_ALIAS_CRYPTO("sha256");
110 MODULE_ALIAS_CRYPTO("sha256-generic");
Dkdf_sp800108.c133 ret = kdf_test(&kdf_ctr_hmac_sha256_tv_template[0], "hmac(sha256)", in crypto_kdf108_init()
137 panic("alg: self-tests for CTR-KDF (hmac(sha256)) failed (rc=%d)\n", in crypto_kdf108_init()
141 "alg: self-tests for CTR-KDF (hmac(sha256)) failed (rc=%d)\n", in crypto_kdf108_init()
144 pr_info("alg: self-tests for CTR-KDF (hmac(sha256)) passed\n"); in crypto_kdf108_init()
/linux-6.14.4/arch/arm/crypto/
DMakefile10 obj-$(CONFIG_CRYPTO_SHA256_ARM) += sha256-arm.o
28 sha256-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := sha256_neon_glue.o
29 sha256-arm-y := sha256-core.o sha256_glue.o $(sha256-arm-neon-y)
50 clean-files += poly1305-core.S sha256-core.S sha512-core.S
Dsha256_glue.c3 * Glue code for the SHA256 Secure Hash Algorithm assembly implementation
62 .cra_name = "sha256",
63 .cra_driver_name = "sha256-asm",
115 MODULE_DESCRIPTION("SHA256 Secure Hash Algorithm (ARM), including NEON");
117 MODULE_ALIAS_CRYPTO("sha256");
Dsha256_neon_glue.c3 * Glue code for the SHA256 Secure Hash Algorithm assembly implementation
72 .cra_name = "sha256",
73 .cra_driver_name = "sha256-neon",
/linux-6.14.4/arch/riscv/crypto/
DMakefile13 obj-$(CONFIG_CRYPTO_SHA256_RISCV64) += sha256-riscv64.o
14 sha256-riscv64-y := sha256-riscv64-glue.o sha256-riscv64-zvknha_or_zvknhb-zvkb.o
/linux-6.14.4/arch/sparc/crypto/
Dsha256_glue.c2 /* Glue code for SHA256 hashing optimized for sparc64 crypto opcodes.
138 .cra_name = "sha256",
139 .cra_driver_name= "sha256-sparc64",
188 pr_info("Using sparc64 sha256 opcode optimized SHA-256/SHA-224 implementation\n"); in sha256_sparc64_mod_init()
191 pr_info("sparc64 sha256 opcode not available.\n"); in sha256_sparc64_mod_init()
205 MODULE_DESCRIPTION("SHA-224 and SHA-256 Secure Hash Algorithm, sparc64 sha256 opcode accelerated");
208 MODULE_ALIAS_CRYPTO("sha256");
/linux-6.14.4/drivers/crypto/nx/
Dnx-sha256.c88 memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_update()
149 memcpy(csbcpb->cpb.sha256.input_partial_digest, in nx_sha256_update()
150 csbcpb->cpb.sha256.message_digest, in nx_sha256_update()
175 memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_update()
204 memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_final()
212 csbcpb->cpb.sha256.message_bit_length = (u64) (sctx->count * 8); in nx_sha256_final()
245 memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_final()
279 .cra_name = "sha256",
280 .cra_driver_name = "sha256-nx",
/linux-6.14.4/arch/arm64/crypto/
DMakefile59 obj-$(CONFIG_CRYPTO_SHA256_ARM64) += sha256-arm64.o
60 sha256-arm64-y := sha256-glue.o sha256-core.o
87 $(obj)/sha256-core.S: $(src)/sha512-armv8.pl
90 clean-files += poly1305-core.S sha256-core.S sha512-core.S
Dsha256-glue.c3 * Linux/arm64 port of the OpenSSL SHA256 implementation for AArch64
24 MODULE_ALIAS_CRYPTO("sha256");
73 .base.cra_name = "sha256",
74 .base.cra_driver_name = "sha256-arm64",
153 .base.cra_name = "sha256",
154 .base.cra_driver_name = "sha256-arm64-neon",
/linux-6.14.4/drivers/crypto/
Dpadlock-sha.c257 .cra_name = "sha256",
258 .cra_driver_name = "sha256-padlock",
485 .cra_name = "sha256",
486 .cra_driver_name = "sha256-padlock-nano",
504 struct shash_alg *sha256; in padlock_init() local
513 sha256 = &sha256_alg; in padlock_init()
516 sha256 = &sha256_alg_nano; in padlock_init()
523 rc = crypto_register_shash(sha256); in padlock_init()
527 printk(KERN_NOTICE PFX "Using VIA PadLock ACE for SHA1/SHA256 algorithms.\n"); in padlock_init()
535 printk(KERN_ERR PFX "VIA PadLock SHA1/SHA256 initialization failed.\n"); in padlock_init()
[all …]
DKconfig42 tristate "PadLock driver for SHA1 and SHA256 algorithms"
48 Use VIA PadLock for SHA1/SHA256 algorithms.
397 Select this to offload Exynos from HASH MD5/SHA1/SHA256.
398 This will select software SHA1, MD5 and SHA256 as they are
460 Some Atmel processors have SHA1/SHA224/SHA256/SHA384/SHA512
463 SHA1/SHA224/SHA256/SHA384/SHA512 algorithms.
522 The Freescale i.MX23/i.MX28 has SHA1/SHA256 and AES128 CBC/ECB
599 - SHA256, HMAC-SHA256
616 - SHA256, HMAC-SHA256
680 hardware hash accelerator. Supporting MD5/SHA1/SHA224/SHA256
[all …]
/linux-6.14.4/arch/s390/crypto/
Dsha256_s390.c5 * s390 implementation of the SHA256 and SHA224 Secure Hash Algorithm.
71 .cra_name = "sha256",
72 .cra_driver_name= "sha256-s390",
140 MODULE_ALIAS_CRYPTO("sha256");
143 MODULE_DESCRIPTION("SHA256 and SHA224 Secure Hash Algorithm");
/linux-6.14.4/net/mptcp/
Dcrypto.c36 sha256((__force u8 *)&input, sizeof(input), (u8 *)mptcp_hashed_key); in mptcp_crypto_key_sha()
66 /* emit sha256(K1 || msg) on the second input block, so we can in mptcp_crypto_hmac_sha()
69 sha256(input, SHA256_BLOCK_SIZE + len, &input[SHA256_BLOCK_SIZE]); in mptcp_crypto_hmac_sha()
78 sha256(input, SHA256_BLOCK_SIZE + SHA256_DIGEST_SIZE, hmac); in mptcp_crypto_hmac_sha()
/linux-6.14.4/arch/powerpc/crypto/
DMakefile12 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o
23 sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o
Dsha256-spe-glue.c24 * between preempt_disable() and preempt_enable(). SHA256 takes ~2,000
192 .cra_name = "sha256",
193 .cra_driver_name= "sha256-ppc-spe",
234 MODULE_ALIAS_CRYPTO("sha256");
235 MODULE_ALIAS_CRYPTO("sha256-ppc-spe");
/linux-6.14.4/include/linux/
Defi_embedded_fw.h28 * @sha256: SHA256 of the firmware
34 u8 sha256[32]; member
/linux-6.14.4/arch/s390/purgatory/
DMakefile3 purgatory-y := head.o purgatory.o string.o sha256.o mem.o
8 $(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
/linux-6.14.4/Documentation/admin-guide/device-mapper/
Ddm-crypt.rst25 aes-cbc-essiv:sha256
40 capi:cbc(aes)-essiv:sha256
46 capi:authenc(hmac(sha256),xts(aes))-random
194 …dmsetup create crypt1 --table "0 `blockdev --getsz $1` crypt aes-cbc-essiv:sha256 babebabebabebabe…
200 …dmsetup create crypt2 --table "0 `blockdev --getsize $1` crypt aes-cbc-essiv:sha256 :32:logon:my_p…
/linux-6.14.4/security/apparmor/
Dcrypto.c109 tfm = crypto_alloc_shash("sha256", 0, 0); in init_profile_hash()
112 AA_ERROR("failed to setup profile sha256 hashing: %d\n", error); in init_profile_hash()
118 aa_info_message("AppArmor sha256 policy hashing enabled"); in init_profile_hash()
DKconfig60 bool "Enable introspection of sha256 hashes for loaded profiles"
77 This option selects whether sha256 hashing of loaded policy
78 is enabled by default. The generation of sha256 hashes for
/linux-6.14.4/arch/mips/cavium-octeon/crypto/
Docteon-crypto.h8 * MD5/SHA1/SHA256/SHA512 instruction definitions added by
25 * Macros needed to implement MD5/SHA1/SHA256:
29 * The index can be 0-1 (MD5) or 0-2 (SHA1), 0-3 (SHA256).
40 * The index can be 0-1 (MD5) or 0-2 (SHA1), 0-3 (SHA256).
/linux-6.14.4/arch/x86/purgatory/
DMakefile3 purgatory-y := purgatory.o stack.o setup-x86_$(BITS).o sha256.o entry64.o string.o
11 $(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE

123456789