Home
last modified time | relevance | path

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

/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()
DMakefile10 nx-sha256.o \
Dnx_csbcpb.h130 struct cop_symcpb_sha256 sha256; member
/drivers/platform/x86/
Dtouchscreen_dmi.c74 .sha256 = { 0xc0, 0x88, 0xc5, 0xef, 0xd1, 0x70, 0x77, 0x59,
118 .sha256 = { 0xfd, 0x0a, 0x08, 0x08, 0x3c, 0xa6, 0x34, 0x4e,
144 .sha256 = { 0xdb, 0x92, 0x68, 0xa8, 0xdb, 0x81, 0x31, 0x00,
171 .sha256 = { 0xf7, 0xc0, 0xe8, 0x5a, 0x6c, 0xf2, 0xeb, 0x8d,
202 .sha256 = { 0x93, 0xe5, 0x49, 0xe0, 0xb6, 0xa2, 0xb4, 0xb3,
291 .sha256 = { 0xff, 0x62, 0x2d, 0xd1, 0x8a, 0x78, 0x04, 0x7b,
632 .sha256 = { 0x8f, 0xbd, 0x8f, 0x0c, 0x6b, 0xba, 0x5b, 0xf5,
721 .sha256 = { 0xd0, 0x58, 0xc4, 0x7d, 0x55, 0x2d, 0x62, 0x18,
910 .sha256 = { 0x9d, 0xb0, 0x3d, 0xf1, 0x00, 0x3c, 0xb5, 0x25,
/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()
/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()
Dsa2ul.c411 struct sha256_state *sha256; in sa_export_shash() local
420 sha256 = state; in sa_export_shash()
421 result = sha256->state; in sa_export_shash()
442 struct sha256_state sha256; in sa_prepare_iopads() member
Dn2_core.c305 struct sha256_state sha256; member
/drivers/crypto/keembay/
DKconfig53 Provides OCS HCU hardware acceleration of sha256, sha384, sha512, and
/drivers/crypto/qat/qat_common/
Dqat_algs.c75 struct sha256_state sha256; member
163 if (crypto_shash_export(shash, &ctx->sha256)) in qat_alg_do_precomputes()
166 *hash_state_out = cpu_to_be32(ctx->sha256.state[i]); in qat_alg_do_precomputes()
199 if (crypto_shash_export(shash, &ctx->sha256)) in qat_alg_do_precomputes()
202 *hash_state_out = cpu_to_be32(ctx->sha256.state[i]); in qat_alg_do_precomputes()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c710 struct sha256_state *sha256; in copy_pad() local
721 sha256 = (struct sha256_state *) in_pad; in copy_pad()
722 swap_data32(sha256->state, SHA256_DIGEST_SIZE); in copy_pad()
723 memcpy(out_pad, &sha256->state, SHA256_DIGEST_SIZE); in copy_pad()
/drivers/crypto/marvell/octeontx2/
Dotx2_cptvf_algs.c765 struct sha256_state *sha256; in copy_pad() local
776 sha256 = (struct sha256_state *) in_pad; in copy_pad()
777 swap_data32(sha256->state, SHA256_DIGEST_SIZE); in copy_pad()
778 memcpy(out_pad, &sha256->state, SHA256_DIGEST_SIZE); in copy_pad()
/drivers/char/tpm/
Dtpm-sysfs.c471 PCR_ATTR_BUILD(TPM_ALG_SHA256, sha256);