Lines Matching refs:SHA256_BLOCK_LENGTH
98 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8)
318 SHA256_Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH])
376 SHA256_Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH])
459 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
462 freespace = SHA256_BLOCK_LENGTH - usedspace;
480 while (len >= SHA256_BLOCK_LENGTH) {
483 context->bitcount += SHA256_BLOCK_LENGTH << 3;
484 len -= SHA256_BLOCK_LENGTH;
485 data += SHA256_BLOCK_LENGTH;
501 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
511 if (usedspace < SHA256_BLOCK_LENGTH) {
513 SHA256_BLOCK_LENGTH - usedspace);