Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/hash/
H A Dsm3.c195 ctx->sm3_total = 0; in sm3_init()
233 left = (ctx->sm3_total & 0x3F); in sm3_update()
236 ctx->sm3_total += ilen; in sm3_update()
277 block_present = (ctx->sm3_total % SM3_BLOCK_SIZE); in sm3_final()
290 PUT_UINT64_BE(8 * ctx->sm3_total, last_padded_block, in sm3_final()
296 PUT_UINT64_BE(8 * ctx->sm3_total, last_padded_block, in sm3_final()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dsm3.h56 u64 sm3_total; member