Home
last modified time | relevance | path

Searched refs:sha256 (Results 1 – 6 of 6) 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()
DMakefile11 nx-sha256.o \
Dnx_csbcpb.h130 struct cop_symcpb_sha256 sha256; member
/drivers/crypto/
Dpadlock-sha.c509 struct shash_alg *sha256; in padlock_init() local
518 sha256 = &sha256_alg; in padlock_init()
521 sha256 = &sha256_alg_nano; in padlock_init()
528 rc = crypto_register_shash(sha256); in padlock_init()
Dn2_core.c303 struct sha256_state sha256; member
/drivers/crypto/qat/qat_common/
Dqat_algs.c118 struct sha256_state sha256; member
203 if (crypto_shash_export(shash, &ctx->sha256)) in qat_alg_do_precomputes()
206 *hash_state_out = cpu_to_be32(ctx->sha256.state[i]); in qat_alg_do_precomputes()
239 if (crypto_shash_export(shash, &ctx->sha256)) in qat_alg_do_precomputes()
242 *hash_state_out = cpu_to_be32(ctx->sha256.state[i]); in qat_alg_do_precomputes()