Lines Matching refs:LDNS_SHA256_BLOCK_LENGTH
111 #define ldns_sha256_SHORT_BLOCK_LENGTH (LDNS_SHA256_BLOCK_LENGTH - 8)
320 MEMSET_BZERO(context->buffer, LDNS_SHA256_BLOCK_LENGTH);
512 usedspace = (context->bitcount >> 3) % LDNS_SHA256_BLOCK_LENGTH;
515 freespace = LDNS_SHA256_BLOCK_LENGTH - usedspace;
533 while (len >= LDNS_SHA256_BLOCK_LENGTH) {
536 context->bitcount += LDNS_SHA256_BLOCK_LENGTH << 3;
537 len -= LDNS_SHA256_BLOCK_LENGTH;
538 data += LDNS_SHA256_BLOCK_LENGTH;
564 usedspace = (context->bitcount >> 3) % LDNS_SHA256_BLOCK_LENGTH;
577 if (usedspace < LDNS_SHA256_BLOCK_LENGTH) {
578 MEMSET_BZERO(&context->buffer[usedspace], LDNS_SHA256_BLOCK_LENGTH - usedspace);