Searched refs:sha256 (Results 1 – 6 of 6) sorted by relevance
/drivers/crypto/nx/ |
D | nx-sha256.c | 83 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()
|
D | Makefile | 11 nx-sha256.o \
|
D | nx_csbcpb.h | 130 struct cop_symcpb_sha256 sha256; member
|
/drivers/crypto/ |
D | padlock-sha.c | 509 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()
|
D | n2_core.c | 303 struct sha256_state sha256; member
|
/drivers/crypto/qat/qat_common/ |
D | qat_algs.c | 118 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()
|