Lines Matching refs:SHA256_BLOCK_LENGTH
141 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8)
331 bzero(context->buffer, SHA256_BLOCK_LENGTH);
521 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
524 freespace = SHA256_BLOCK_LENGTH - usedspace;
542 while (len >= SHA256_BLOCK_LENGTH) {
545 context->bitcount += SHA256_BLOCK_LENGTH << 3;
546 len -= SHA256_BLOCK_LENGTH;
547 data += SHA256_BLOCK_LENGTH;
567 usedspace = (context->bitcount >> 3) % SHA256_BLOCK_LENGTH;
580 if (usedspace < SHA256_BLOCK_LENGTH) {
581 bzero(&context->buffer[usedspace], SHA256_BLOCK_LENGTH - usedspace);