Home
last modified time | relevance | path

Searched refs:sha512 (Results 1 – 25 of 35) sorted by relevance

12

/linux/fs/verity/
H A Dhash_algs.c83 sha512_init(&ctx.sha512); in fsverity_prepare_hash_state()
84 sha512_update(&ctx.sha512, padded_salt, padded_salt_size); in fsverity_prepare_hash_state()
85 res = kmemdup(&ctx.sha512, sizeof(ctx.sha512), GFP_KERNEL); in fsverity_prepare_hash_state()
121 ctx.sha512 = params->hashstate->sha512; in fsverity_hash_block()
122 sha512_update(&ctx.sha512, data, params->block_size); in fsverity_hash_block()
123 sha512_final(&ctx.sha512, out); in fsverity_hash_block()
145 sha512(data, size, out); in fsverity_hash_buffer()
H A Dfsverity_private.h36 struct sha512_ctx sha512; member
/linux/lib/crypto/
H A DMakefile321 libsha512-y := sha512.o
326 libsha512-y += arm/sha512-core.o
327 $(obj)/arm/sha512-core.S: $(src)/arm/sha512-armv4.pl
329 AFLAGS_arm/sha512-core.o += $(aflags-thumb2-y)
333 libsha512-y += arm64/sha512-core.o
334 $(obj)/arm64/sha512-core.S: $(src)/arm64/sha2-armv8.pl
336 libsha512-$(CONFIG_KERNEL_MODE_NEON) += arm64/sha512-ce-core.o
339 libsha512-$(CONFIG_RISCV) += riscv/sha512-riscv64-zvknhb-zvkb.o
341 libsha512-$(CONFIG_X86) += x86/sha512-ssse3-asm.o \
342 x86/sha512-avx-asm.o \
[all …]
H A Dsha512.c243 void sha512(const u8 *data, size_t len, u8 out[SHA512_DIGEST_SIZE]) in sha512() function
251 EXPORT_SYMBOL_GPL(sha512);
267 sha512(raw_key, raw_key_len, derived_key.b); in __hmac_sha512_preparekey()
/linux/drivers/crypto/nx/
H A Dnx-sha512.c78 memcpy(csbcpb->cpb.sha512.message_digest, sctx->state, SHA512_DIGEST_SIZE); in nx_sha512_update()
115 memcpy(csbcpb->cpb.sha512.input_partial_digest, in nx_sha512_update()
116 csbcpb->cpb.sha512.message_digest, in nx_sha512_update()
138 memcpy(sctx->state, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_update()
167 memcpy(csbcpb->cpb.sha512.input_partial_digest, sctx->state, SHA512_DIGEST_SIZE); in nx_sha512_finup()
174 csbcpb->cpb.sha512.message_bit_length_lo = count0 << 3; in nx_sha512_finup()
175 csbcpb->cpb.sha512.message_bit_length_hi = (count1 << 3) | in nx_sha512_finup()
205 memcpy(out, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_finup()
H A DMakefile11 nx-sha512.o
H A Dnx_csbcpb.h131 struct cop_symcpb_sha512 sha512; member
/linux/Documentation/translations/zh_CN/core-api/
H A Dworkqueue.rst397 --name=iops-test-job --verify=sha512
399 这里有24个发起者,每个同时发起64个IO。 ``--verify=sha512``
436 --time_based --group_reporting --name=iops-test-job --verify=sha512
477 --time_based --group_reporting --name=iops-test-job --verify=sha512
/linux/lib/crypto/arm/
H A D.gitignore4 sha512-core.S
/linux/arch/arm64/crypto/
H A D.gitignore3 sha512-core.S
/linux/lib/crypto/arm64/
H A D.gitignore4 sha512-core.S
/linux/arch/arm/crypto/
H A D.gitignore4 sha512-core.S
/linux/lib/crypto/tests/
H A Dsha512_kunit.c8 #define HASH sha512
/linux/drivers/crypto/chelsio/
H A Dchcr_algo.h333 __be64 *sha512 = (__be64 *)chcr_sha512_init; in copy_hash_init_values() local
354 ldkey[i] = be64_to_cpu(sha512[i]); in copy_hash_init_values()
/linux/Documentation/translations/zh_CN/filesystems/
H A Dubifs.rst88 生成。典型值包括"sha256"或"sha512"
/linux/Documentation/ABI/testing/
H A Dima_policy77 For example, "sha256,sha512" to only accept to appraise
164 appraise func=SETXATTR_CHECK appraise_algos=sha256,sha384,sha512
/linux/drivers/crypto/intel/keembay/
H A DKconfig72 Provides OCS HCU hardware acceleration of sha256, sha384, sha512, and
/linux/crypto/
H A Drsassa-pkcs1.c104 _(sha512),
H A Dsha512.c164 sha512(data, len, out); in crypto_sha512_digest()
/linux/include/crypto/
H A Dsha2.h791 void sha512(const u8 *data, size_t len, u8 out[at_least SHA512_DIGEST_SIZE]);
/linux/arch/s390/crypto/
H A Dhmac_s390.c112 } sha512; in hash_data() member
/linux/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_algs.c721 struct sha512_state *sha512; in swap_pad() local
738 sha512 = (struct sha512_state *)pad; in swap_pad()
739 swap_data64(sha512->state, SHA512_DIGEST_SIZE); in swap_pad()
/linux/Documentation/core-api/
H A Dworkqueue.rst471 --name=iops-test-job --verify=sha512
473 There are 24 issuers, each issuing 64 IOs concurrently. ``--verify=sha512``
513 --time_based --group_reporting --name=iops-test-job --verify=sha512
556 --time_based --group_reporting --name=iops-test-job --verify=sha512
/linux/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_algs.c810 struct sha512_state *sha512; in swap_pad() local
827 sha512 = (struct sha512_state *)pad; in swap_pad()
828 swap_data64(sha512->state, SHA512_DIGEST_SIZE); in swap_pad()
/linux/drivers/char/tpm/
H A Dtpm-sysfs.c491 PCR_ATTR_BUILD(TPM_ALG_SHA512, sha512);

12