Home
last modified time | relevance | path

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

/drivers/crypto/nx/
Dnx-sha256.c64 memcpy(csbcpb->cpb.sha256.input_partial_digest, in nx_sha256_update()
65 csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_update()
117 csbcpb->cpb.sha256.message_bit_length += (u64) in nx_sha256_update()
118 (csbcpb->cpb.sha256.spbc * 8); in nx_sha256_update()
138 memcpy(csbcpb->cpb.sha256.input_partial_digest, in nx_sha256_final()
139 csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_final()
146 csbcpb->cpb.sha256.message_bit_length += (u64)(sctx->count * 8); in nx_sha256_final()
167 atomic64_add(csbcpb->cpb.sha256.message_bit_length / 8, in nx_sha256_final()
169 memcpy(out, csbcpb->cpb.sha256.message_digest, SHA256_DIGEST_SIZE); in nx_sha256_final()
182 (csbcpb->cpb.sha256.message_bit_length / 8); in nx_sha256_export()
[all …]
DMakefile10 nx-sha256.o \
Dnx_csbcpb.h129 struct cop_symcpb_sha256 sha256; member
/drivers/crypto/
Dpadlock-sha.c541 struct shash_alg *sha256; in padlock_init() local
550 sha256 = &sha256_alg; in padlock_init()
553 sha256 = &sha256_alg_nano; in padlock_init()
560 rc = crypto_register_shash(sha256); in padlock_init()
Dn2_core.c297 struct sha256_state sha256; member