Home
last modified time | relevance | path

Searched refs:sha256 (Results 1 – 25 of 69) sorted by relevance

123

/linux-6.12.1/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.12.1/arch/arm/crypto/
DMakefile10 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
D.gitignore3 sha256-core.S
/linux-6.12.1/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()
/linux-6.12.1/arch/arm64/crypto/
DMakefile62 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
D.gitignore2 sha256-core.S
/linux-6.12.1/net/mptcp/
Dcrypto.c36 sha256((__force u8 *)&input, sizeof(input), (u8 *)mptcp_hashed_key); in mptcp_crypto_key_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.12.1/fs/crypto/
Dfname.c61 u8 sha256[SHA256_DIGEST_SIZE]; member
69 #define FSCRYPT_NOKEY_NAME_MAX offsetofend(struct fscrypt_nokey_name, sha256)
392 offsetof(struct fscrypt_nokey_name, sha256)); in fscrypt_fname_disk_to_usr()
404 sha256(&iname->name[sizeof(nokey_name.bytes)], in fscrypt_fname_disk_to_usr()
406 nokey_name.sha256); in fscrypt_fname_disk_to_usr()
492 (ret > offsetof(struct fscrypt_nokey_name, sha256) && in fscrypt_setup_filename()
546 sha256(&de_name[sizeof(nokey_name->bytes)], in fscrypt_match_name()
548 return !memcmp(digest, nokey_name->sha256, sizeof(digest)); in fscrypt_match_name()
/linux-6.12.1/arch/powerpc/crypto/
DMakefile12 obj-$(CONFIG_CRYPTO_SHA256_PPC_SPE) += sha256-ppc-spe.o
26 sha256-ppc-spe-y := sha256-spe-asm.o sha256-spe-glue.o
/linux-6.12.1/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.12.1/arch/x86/crypto/
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.12.1/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
/linux-6.12.1/arch/sparc/crypto/
DMakefile7 obj-$(CONFIG_CRYPTO_SHA256_SPARC64) += sha256-sparc64.o
18 sha256-sparc64-y := sha256_asm.o sha256_glue.o
/linux-6.12.1/arch/riscv/purgatory/
DMakefile3 purgatory-y := purgatory.o sha256.o entry.o string.o ctype.o memcpy.o memset.o
32 $(obj)/sha256.o: $(srctree)/lib/crypto/sha256.c FORCE
/linux-6.12.1/drivers/platform/x86/
Dtouchscreen_dmi.c104 .sha256 = { 0xc0, 0x88, 0xc5, 0xef, 0xd1, 0x70, 0x77, 0x59,
149 .sha256 = { 0xfd, 0x0a, 0x08, 0x08, 0x3c, 0xa6, 0x34, 0x4e,
180 .sha256 = { 0xdb, 0x92, 0x68, 0xa8, 0xdb, 0x81, 0x31, 0x00,
206 .sha256 = { 0xf7, 0xc0, 0xe8, 0x5a, 0x6c, 0xf2, 0xeb, 0x8d,
236 .sha256 = { 0x93, 0xe5, 0x49, 0xe0, 0xb6, 0xa2, 0xb4, 0xb3,
320 .sha256 = { 0xff, 0x62, 0x2d, 0xd1, 0x8a, 0x78, 0x04, 0x7b,
627 .sha256 = { 0x8f, 0xbd, 0x8f, 0x0c, 0x6b, 0xba, 0x5b, 0xf5,
712 .sha256 = { 0xd0, 0x58, 0xc4, 0x7d, 0x55, 0x2d, 0x62, 0x18,
920 .sha256 = { 0x9d, 0xb0, 0x3d, 0xf1, 0x00, 0x3c, 0xb5, 0x25,
945 .sha256 = { 0x9d, 0xb0, 0x3d, 0xf1, 0x00, 0x3c, 0xb5, 0x25,
/linux-6.12.1/drivers/firmware/efi/
Dembedded-firmware.c56 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()
/linux-6.12.1/tools/testing/selftests/net/rds/
Dtest.py177 send_data = hashlib.sha256(
187 hashlib.sha256()).update(f'<{send_data}>'.encode('utf-8'))
208 receiver.fileno()), hashlib.sha256()).update(
/linux-6.12.1/Documentation/admin-guide/device-mapper/
Ddm-ima.rst159 …10 a8c5ff755561c7a28146389d1514c318592af49a ima-buf sha256:4d73481ecce5eadba8ab084640d85bb9ca899af…
200 …10 56c00cc062ffc24ccd9ac2d67d194af3282b934e ima-buf sha256:e7d12c03b958b4e0e53e7363a06376be88d98a1…
204 …active_table_hash=sha256:4d73481ecce5eadba8ab084640d85bb9ca899af4d0a122989252a76efadc5b72;current_…
208 When a device is removed, the device information and a sha256 hash of the
238 …10 790e830a3a7a31590824ac0642b3b31c2d0e8b38 ima-buf sha256:ab9f3c959367a8f5d4403d6ce9c3627dadfa8f9…
243 active_table_hash=sha256:4a7e62efaebfc86af755831998b7db6f59b60d23c9534fb16a4455907957953a,
244 …inactive_table_hash=sha256:9d79c175bc2302d55a183e8f50ad4bafd60f7692fd6249e5fd213e2464384b86,remove…
249 When an inactive table is cleared from the device, the device information and a sha256 hash of the
272 …10 77d347408f557f68f0041acb0072946bb2367fe5 ima-buf sha256:42f9ca22163fdfa548e6229dece2959bc5ce295…
276 …inactive_table_hash=sha256:75c0dc347063bf474d28a9907037eba060bfe39d8847fc0646d75e149045d545;curren…
[all …]
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.12.1/arch/mips/cavium-octeon/crypto/
DMakefile10 obj-$(CONFIG_CRYPTO_SHA256_OCTEON) += octeon-sha256.o
/linux-6.12.1/include/linux/
Defi_embedded_fw.h34 u8 sha256[32]; member
/linux-6.12.1/drivers/crypto/
Dpadlock-sha.c504 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()
/linux-6.12.1/security/apparmor/
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.12.1/lib/crypto/
Dsha256.c158 void sha256(const u8 *data, unsigned int len, u8 *out) in sha256() function
166 EXPORT_SYMBOL(sha256);
/linux-6.12.1/fs/bcachefs/
Dchecksum.c785 if (c->sha256) in bch2_fs_encryption_exit()
786 crypto_free_shash(c->sha256); in bch2_fs_encryption_exit()
795 c->sha256 = crypto_alloc_shash("sha256", 0, 0); in bch2_fs_encryption_init()
796 ret = PTR_ERR_OR_ZERO(c->sha256); in bch2_fs_encryption_init()
798 c->sha256 = NULL; in bch2_fs_encryption_init()

123