Searched refs:bits_hashed (Results 1 – 2 of 2) sorted by relevance
79 s->bits_hashed += (SHA256_BLOCK_SIZE << 3); in tc_sha256_update()87 s->bits_hashed += (s->leftover_offset << 3); in tc_sha256_final()101 s->leftover[sizeof(s->leftover) - 1] = (uint8_t)(s->bits_hashed); in tc_sha256_final()102 s->leftover[sizeof(s->leftover) - 2] = (uint8_t)(s->bits_hashed >> 8); in tc_sha256_final()103 s->leftover[sizeof(s->leftover) - 3] = (uint8_t)(s->bits_hashed >> 16); in tc_sha256_final()104 s->leftover[sizeof(s->leftover) - 4] = (uint8_t)(s->bits_hashed >> 24); in tc_sha256_final()105 s->leftover[sizeof(s->leftover) - 5] = (uint8_t)(s->bits_hashed >> 32); in tc_sha256_final()106 s->leftover[sizeof(s->leftover) - 6] = (uint8_t)(s->bits_hashed >> 40); in tc_sha256_final()107 s->leftover[sizeof(s->leftover) - 7] = (uint8_t)(s->bits_hashed >> 48); in tc_sha256_final()108 s->leftover[sizeof(s->leftover) - 8] = (uint8_t)(s->bits_hashed >> 56); in tc_sha256_final()
88 uint64_t bits_hashed; member