Lines Matching refs:SHA256_BLOCK_LENGTH
105 #define SHA256_SHORT_BLOCK_LENGTH (SHA256_BLOCK_LENGTH - 8)
389 SHA256Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH]) in SHA256Transform() argument
447 SHA256Transform(u_int32_t state[8], const u_int8_t data[SHA256_BLOCK_LENGTH]) in SHA256Transform() argument
531 usedspace = (context->bitcount[0] >> 3) % SHA256_BLOCK_LENGTH; in SHA256Update()
534 freespace = SHA256_BLOCK_LENGTH - usedspace; in SHA256Update()
552 while (len >= SHA256_BLOCK_LENGTH) { in SHA256Update()
555 context->bitcount[0] += SHA256_BLOCK_LENGTH << 3; in SHA256Update()
556 len -= SHA256_BLOCK_LENGTH; in SHA256Update()
557 data += SHA256_BLOCK_LENGTH; in SHA256Update()
574 usedspace = (context->bitcount[0] >> 3) % SHA256_BLOCK_LENGTH; in SHA256Pad()
584 if (usedspace < SHA256_BLOCK_LENGTH) { in SHA256Pad()
586 SHA256_BLOCK_LENGTH - usedspace); in SHA256Pad()