Home
last modified time | relevance | path

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

/freebsd/crypto/libecc/src/hash/
H A Dbelt-hash.c313 ctx->belt_hash_total = 0; in belt_hash_init()
350 left = (ctx->belt_hash_total & (BELT_HASH_BLOCK_SIZE - 1)); in belt_hash_update()
353 ctx->belt_hash_total += ilen; in belt_hash_update()
395 if((ctx->belt_hash_total % BELT_HASH_BLOCK_SIZE) != 0){ in belt_hash_final()
397 for(i = (ctx->belt_hash_total % BELT_HASH_BLOCK_SIZE); i < BELT_HASH_BLOCK_SIZE; i++){ in belt_hash_final()
402 belt_update_ctr(ctx, (u8)(ctx->belt_hash_total % BELT_HASH_BLOCK_SIZE)); in belt_hash_final()
/freebsd/crypto/libecc/include/libecc/hash/
H A Dbelt-hash.h138 u64 belt_hash_total; member