Home
last modified time | relevance | path

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

/titanic_41/usr/src/lib/libsum/common/
H A Dsum-sha2.c469 sha2_word64 bitcount; member
657 usedspace = (sha->bitcount >> 3) % SHA256_BLOCK_LENGTH; in sha256_block()
665 sha->bitcount += freespace << 3; in sha256_block()
672 sha->bitcount += len << 3; in sha256_block()
681 sha->bitcount += SHA256_BLOCK_LENGTH << 3; in sha256_block()
688 sha->bitcount += len << 3; in sha256_block()
703 sha->bitcount = 0; in sha256_init()
732 usedspace = (sha->bitcount >> 3) % SHA256_BLOCK_LENGTH; in sha256_done()
735 REVERSE64(sha->bitcount,sha->bitcount); in sha256_done()
762 *(sha2_word64*)&sha->buffer[SHA256_SHORT_BLOCK_LENGTH] = sha->bitcount; in sha256_done()
[all …]
/titanic_41/usr/src/common/bignum/
H A Dbignumimpl.c1899 uint32_t bit, bitind, bitcount, groupbits, apowerssize; in big_modexp_ncp_int() local
1949 bitcount = 0; in big_modexp_ncp_int()
1953 if ((bitcount == 0) && (bit == 0)) { in big_modexp_ncp_int()
1959 bitcount++; in big_modexp_ncp_int()
1967 if (bitcount == groupbits) { in big_modexp_ncp_int()
1990 bitcount = 0; in big_modexp_ncp_int()
2049 uint32_t bit, bitind, bitcount, nlen; in big_modexp_ncp_float() local
2186 bitcount = 0; in big_modexp_ncp_float()
2190 if ((bitcount == 0) && (bit == 0)) { in big_modexp_ncp_float()
2196 bitcount++; in big_modexp_ncp_float()
[all …]