Home
last modified time | relevance | path

Searched refs:sha1_total (Results 1 – 2 of 2) sorted by relevance

/freebsd/crypto/libecc/src/examples/hash/
H A Dsha1.c103 ctx->sha1_total = 0; in sha1_init()
137 left = (ctx->sha1_total & 0x3F); in sha1_update()
140 ctx->sha1_total += ilen; in sha1_update()
181 block_present = ctx->sha1_total % SHA1_BLOCK_SIZE; in sha1_final()
194 PUT_UINT64_BE(8 * ctx->sha1_total, last_padded_block, in sha1_final()
200 PUT_UINT64_BE(8 * ctx->sha1_total, last_padded_block, in sha1_final()
H A Dsha1.h103 u64 sha1_total; member