• Home
  • Raw
  • Download

Lines Matching refs:cpb

64 		memcpy(csbcpb->cpb.sha512.input_partial_digest,  in nx_sha512_update()
65 csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_update()
117 spbc_bits = csbcpb->cpb.sha512.spbc * 8; in nx_sha512_update()
118 csbcpb->cpb.sha512.message_bit_length_lo += spbc_bits; in nx_sha512_update()
119 if (csbcpb->cpb.sha512.message_bit_length_lo < spbc_bits) in nx_sha512_update()
120 csbcpb->cpb.sha512.message_bit_length_hi++; in nx_sha512_update()
140 memcpy(csbcpb->cpb.sha512.input_partial_digest, in nx_sha512_final()
141 csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_final()
150 csbcpb->cpb.sha512.message_bit_length_lo += count0; in nx_sha512_final()
151 if (csbcpb->cpb.sha512.message_bit_length_lo < count0) in nx_sha512_final()
152 csbcpb->cpb.sha512.message_bit_length_hi++; in nx_sha512_final()
172 atomic64_add(csbcpb->cpb.sha512.message_bit_length_lo / 8, in nx_sha512_final()
175 memcpy(out, csbcpb->cpb.sha512.message_digest, SHA512_DIGEST_SIZE); in nx_sha512_final()
189 octx->count[0] = csbcpb->cpb.sha512.message_bit_length_lo >> 3 | in nx_sha512_export()
190 ((csbcpb->cpb.sha512.message_bit_length_hi & 7) << 61); in nx_sha512_export()
191 octx->count[1] = csbcpb->cpb.sha512.message_bit_length_hi >> 3; in nx_sha512_export()
202 if (csbcpb->cpb.sha512.message_bit_length_hi || in nx_sha512_export()
203 csbcpb->cpb.sha512.message_bit_length_lo) in nx_sha512_export()
204 memcpy(octx->state, csbcpb->cpb.sha512.message_digest, in nx_sha512_export()
229 csbcpb->cpb.sha512.message_bit_length_lo = (ictx->count[0] & ~0x3f) in nx_sha512_import()
231 csbcpb->cpb.sha512.message_bit_length_hi = ictx->count[1] << 3 | in nx_sha512_import()
234 if (csbcpb->cpb.sha512.message_bit_length_hi || in nx_sha512_import()
235 csbcpb->cpb.sha512.message_bit_length_lo) { in nx_sha512_import()
236 memcpy(csbcpb->cpb.sha512.message_digest, ictx->state, in nx_sha512_import()