Home
last modified time | relevance | path

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

/net-tools-latest/tinydtls-0.8.2/sha2/
Dsha2.c376 context->bitcount = 0; in SHA256_Init()
565 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Update()
573 context->bitcount += freespace << 3; in SHA256_Update()
580 context->bitcount += len << 3; in SHA256_Update()
589 context->bitcount += SHA256_BLOCK_LENGTH << 3; in SHA256_Update()
596 context->bitcount += len << 3; in SHA256_Update()
611 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH; in SHA256_Final()
614 REVERSE64(context->bitcount,context->bitcount); in SHA256_Final()
641 *(sha2_word64*)&context->buffer[SHA256_SHORT_BLOCK_LENGTH] = context->bitcount; in SHA256_Final()
705 context->bitcount[0] = context->bitcount[1] = 0; in SHA512_Init()
[all …]
Dsha2.h99 uint64_t bitcount; member
104 uint64_t bitcount[2]; member
112 u_int64_t bitcount;
117 u_int64_t bitcount[2];