/kernel/linux/linux-5.10/arch/arm/crypto/ |
H A D | Makefile | 10 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) 51 $(src)/sha256-core.S_shipped: $(src)/sha256-armv4.pl 58 clean-files += poly1305-core.S sha256-core.S sha512-core.S
|
/kernel/linux/linux-5.10/arch/powerpc/crypto/ |
H A D | Makefile | 12 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o 21 sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o
|
/kernel/linux/linux-5.10/arch/arm64/crypto/ |
H A D | Makefile | 44 obj-$(CONFIG_CRYPTO_SHA256_ARM64) += sha256-arm64.o 45 sha256-arm64-y := sha256-glue.o sha256-core.o 78 $(src)/sha256-core.S_shipped: $(src)/sha512-armv8.pl 86 clean-files += poly1305-core.S sha256-core.S sha512-core.S
|
/kernel/linux/linux-6.6/arch/arm/crypto/ |
H A D | Makefile | 10 obj-$(CONFIG_CRYPTO_SHA256_ARM) += sha256-arm.o 30 sha256-arm-neon-$(CONFIG_KERNEL_MODE_NEON) := sha256_neon_glue.o 31 sha256-arm-y := sha256-core.o sha256_glue.o $(sha256-arm-neon-y) 54 clean-files += poly1305-core.S sha256-core.S sha512-core.S
|
/kernel/linux/linux-6.6/arch/powerpc/crypto/ |
H A D | Makefile | 12 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o 24 sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o
|
/kernel/linux/linux-5.10/drivers/crypto/nx/ |
H A D | nx-sha256.c | 83 memcpy(csbcpb->cpb.sha256.message_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_update() 144 memcpy(csbcpb->cpb.sha256.input_partial_digest, in nx_sha256_update() 145 csbcpb->cpb.sha256.message_digest, in nx_sha256_update() 170 memcpy(sctx->state, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_update() 199 memcpy(csbcpb->cpb.sha256.input_partial_digest, sctx->state, SHA256_DIGEST_SIZE); in nx_sha256_final() 207 csbcpb->cpb.sha256.message_bit_length = (u64) (sctx->count * 8); in nx_sha256_final() 240 memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_final() 274 .cra_name = "sha256", 275 .cra_driver_name = "sha256-nx",
|
/kernel/linux/linux-6.6/drivers/crypto/nx/ |
H A D | nx-sha256.c | 88 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",
|
/kernel/linux/linux-5.10/net/mptcp/ |
H A D | crypto.c | 36 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()
|
/kernel/linux/linux-6.6/net/mptcp/ |
H A D | crypto.c | 36 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()
|
/kernel/linux/linux-5.10/arch/x86/crypto/ |
H A D | Makefile | 61 obj-$(CONFIG_CRYPTO_SHA256_SSSE3) += sha256-ssse3.o 62 sha256-ssse3-y := sha256-ssse3-asm.o sha256-avx-asm.o sha256-avx2-asm.o sha256_ssse3_glue.o 63 sha256-ssse3-$(CONFIG_AS_SHA256_NI) += sha256_ni_asm.o
|
/kernel/linux/linux-6.6/arch/arm64/crypto/ |
H A D | Makefile | 62 obj-$(CONFIG_CRYPTO_SHA256_ARM64) += sha256-arm64.o 63 sha256-arm64-y := sha256-glue.o sha256-core.o 90 $(obj)/sha256-core.S: $(src)/sha512-armv8.pl 93 clean-files += poly1305-core.S sha256-core.S sha512-core.S
|
/kernel/linux/linux-6.6/arch/x86/crypto/ |
H A D | Makefile | 57 obj-$(CONFIG_CRYPTO_SHA256_SSSE3) += sha256-ssse3.o 58 sha256-ssse3-y := sha256-ssse3-asm.o sha256-avx-asm.o sha256-avx2-asm.o sha256_ssse3_glue.o 59 sha256-ssse3-$(CONFIG_AS_SHA256_NI) += sha256_ni_asm.o
|
/kernel/linux/linux-5.10/fs/crypto/ |
H A D | fname.c | 54 u8 sha256[SHA256_DIGEST_SIZE]; member 59 * the strong hash and thus includes the 'sha256' field. This isn't simply 62 #define FSCRYPT_NOKEY_NAME_MAX offsetofend(struct fscrypt_nokey_name, sha256) 344 offsetof(struct fscrypt_nokey_name, sha256)); in fscrypt_fname_disk_to_usr() 356 sha256(&iname->name[sizeof(nokey_name.bytes)], in fscrypt_fname_disk_to_usr() 358 nokey_name.sha256); in fscrypt_fname_disk_to_usr() 444 (ret > offsetof(struct fscrypt_nokey_name, sha256) && in fscrypt_setup_filename() 498 sha256(&de_name[sizeof(nokey_name->bytes)], in fscrypt_match_name() 500 return !memcmp(digest, nokey_name->sha256, sizeof(digest)); in fscrypt_match_name()
|
/kernel/linux/linux-6.6/fs/crypto/ |
H A D | fname.c | 61 u8 sha256[SHA256_DIGEST_SIZE]; member 66 * the strong hash and thus includes the 'sha256' field. This isn't simply 69 #define FSCRYPT_NOKEY_NAME_MAX offsetofend(struct fscrypt_nokey_name, sha256) 398 offsetof(struct fscrypt_nokey_name, sha256)); in fscrypt_fname_disk_to_usr() 410 sha256(&iname->name[sizeof(nokey_name.bytes)], in fscrypt_fname_disk_to_usr() 412 nokey_name.sha256); in fscrypt_fname_disk_to_usr() 498 (ret > offsetof(struct fscrypt_nokey_name, sha256) && in fscrypt_setup_filename() 552 sha256(&de_name[sizeof(nokey_name->bytes)], in fscrypt_match_name() 554 return !memcmp(digest, nokey_name->sha256, sizeof(digest)); in fscrypt_match_name()
|
/kernel/linux/linux-5.10/arch/x86/purgatory/ |
H A D | Makefile | 4 purgatory-y := purgatory.o stack.o setup-x86_$(BITS).o sha256.o entry64.o string.o 12 $(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
|
/kernel/linux/linux-5.10/arch/s390/purgatory/ |
H A D | Makefile | 5 purgatory-y := head.o purgatory.o string.o sha256.o mem.o 10 $(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
|
/kernel/linux/linux-6.6/arch/s390/purgatory/ |
H A D | Makefile | 5 purgatory-y := head.o purgatory.o string.o sha256.o mem.o 10 $(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
|
/kernel/linux/linux-6.6/arch/x86/purgatory/ |
H A D | Makefile | 4 purgatory-y := purgatory.o stack.o setup-x86_$(BITS).o sha256.o entry64.o string.o 12 $(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
|
/kernel/linux/linux-5.10/arch/sparc/crypto/ |
H A D | Makefile | 7 obj-$(CONFIG_CRYPTO_SHA256_SPARC64) += sha256-sparc64.o 18 sha256-sparc64-y := sha256_asm.o sha256_glue.o
|
/kernel/linux/linux-6.6/arch/sparc/crypto/ |
H A D | Makefile | 7 obj-$(CONFIG_CRYPTO_SHA256_SPARC64) += sha256-sparc64.o 18 sha256-sparc64-y := sha256_asm.o sha256_glue.o
|
/kernel/linux/linux-6.6/arch/riscv/purgatory/ |
H A D | Makefile | 4 purgatory-y := purgatory.o sha256.o entry.o string.o ctype.o memcpy.o memset.o 31 $(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
|
/kernel/linux/linux-5.10/drivers/firmware/efi/ |
H A D | embedded-firmware.c | 56 sha256(map + i, desc->length, hash); in efi_check_md_for_embedded_firmware() 57 if (memcmp(hash, desc->sha256, 32) == 0) in efi_check_md_for_embedded_firmware()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/ |
H A D | embedded-firmware.c | 56 sha256(map + i, desc->length, hash); in efi_check_md_for_embedded_firmware() 57 if (memcmp(hash, desc->sha256, 32) == 0) in efi_check_md_for_embedded_firmware()
|
/kernel/linux/linux-6.6/drivers/platform/x86/ |
H A D | touchscreen_dmi.c | 105 .sha256 = { 0xc0, 0x88, 0xc5, 0xef, 0xd1, 0x70, 0x77, 0x59, 152 .sha256 = { 0xfd, 0x0a, 0x08, 0x08, 0x3c, 0xa6, 0x34, 0x4e, 184 .sha256 = { 0xdb, 0x92, 0x68, 0xa8, 0xdb, 0x81, 0x31, 0x00, 211 .sha256 = { 0xf7, 0xc0, 0xe8, 0x5a, 0x6c, 0xf2, 0xeb, 0x8d, 242 .sha256 = { 0x93, 0xe5, 0x49, 0xe0, 0xb6, 0xa2, 0xb4, 0xb3, 331 .sha256 = { 0xff, 0x62, 0x2d, 0xd1, 0x8a, 0x78, 0x04, 0x7b, 660 .sha256 = { 0x8f, 0xbd, 0x8f, 0x0c, 0x6b, 0xba, 0x5b, 0xf5, 749 .sha256 = { 0xd0, 0x58, 0xc4, 0x7d, 0x55, 0x2d, 0x62, 0x18, 938 .sha256 = { 0x9d, 0xb0, 0x3d, 0xf1, 0x00, 0x3c, 0xb5, 0x25, 964 .sha256 [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | efi_embedded_fw.h | 28 * @sha256: SHA256 of the firmware 34 u8 sha256[32]; member
|