Home
last modified time | relevance | path

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

/drivers/crypto/nx/
Dnx-sha256.c83 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()
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,
615 .sha256 = { 0x8f, 0xbd, 0x8f, 0x0c, 0x6b, 0xba, 0x5b, 0xf5,
704 .sha256 = { 0xd0, 0x58, 0xc4, 0x7d, 0x55, 0x2d, 0x62, 0x18,
/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.c503 struct shash_alg *sha256; in padlock_init() local
512 sha256 = &sha256_alg; in padlock_init()
515 sha256 = &sha256_alg_nano; in padlock_init()
522 rc = crypto_register_shash(sha256); in padlock_init()
Dsa2ul.c385 struct sha256_state sha256; in sa_export_shash() member
398 state = &sha.sha256; in sa_export_shash()
399 result = sha.sha256.state; in sa_export_shash()
Dn2_core.c304 struct sha256_state sha256; member
/drivers/crypto/qat/qat_common/
Dqat_algs.c64 struct sha256_state sha256; member
150 if (crypto_shash_export(shash, &ctx->sha256)) in qat_alg_do_precomputes()
153 *hash_state_out = cpu_to_be32(ctx->sha256.state[i]); in qat_alg_do_precomputes()
186 if (crypto_shash_export(shash, &ctx->sha256)) in qat_alg_do_precomputes()
189 *hash_state_out = cpu_to_be32(ctx->sha256.state[i]); in qat_alg_do_precomputes()
/drivers/crypto/marvell/octeontx/
Dotx_cptvf_algs.c709 struct sha256_state *sha256; in copy_pad() local
720 sha256 = (struct sha256_state *) in_pad; in copy_pad()
721 swap_data32(sha256->state, SHA256_DIGEST_SIZE); in copy_pad()
722 memcpy(out_pad, &sha256->state, SHA256_DIGEST_SIZE); in copy_pad()