Home
last modified time | relevance | path

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

/tinycrypt-3.7.0/lib/source/
Dsha256.c80 s->bits_hashed += (TC_SHA256_BLOCK_SIZE << 3); in tc_sha256_update()
97 s->bits_hashed += (s->leftover_offset << 3); in tc_sha256_final()
111 s->leftover[sizeof(s->leftover) - 1] = (uint8_t)(s->bits_hashed); in tc_sha256_final()
112 s->leftover[sizeof(s->leftover) - 2] = (uint8_t)(s->bits_hashed >> 8); in tc_sha256_final()
113 s->leftover[sizeof(s->leftover) - 3] = (uint8_t)(s->bits_hashed >> 16); in tc_sha256_final()
114 s->leftover[sizeof(s->leftover) - 4] = (uint8_t)(s->bits_hashed >> 24); in tc_sha256_final()
115 s->leftover[sizeof(s->leftover) - 5] = (uint8_t)(s->bits_hashed >> 32); in tc_sha256_final()
116 s->leftover[sizeof(s->leftover) - 6] = (uint8_t)(s->bits_hashed >> 40); in tc_sha256_final()
117 s->leftover[sizeof(s->leftover) - 7] = (uint8_t)(s->bits_hashed >> 48); in tc_sha256_final()
118 s->leftover[sizeof(s->leftover) - 8] = (uint8_t)(s->bits_hashed >> 56); in tc_sha256_final()
/tinycrypt-3.7.0/lib/include/tinycrypt/
Dsha256.h73 uint64_t bits_hashed; member