Lines Matching refs:LDNS_SHA512_BLOCK_LENGTH
113 #define ldns_sha512_SHORT_BLOCK_LENGTH (LDNS_SHA512_BLOCK_LENGTH - 16)
635 MEMSET_BZERO(context->buffer, LDNS_SHA512_BLOCK_LENGTH);
821 usedspace = (context->bitcount[0] >> 3) % LDNS_SHA512_BLOCK_LENGTH;
824 freespace = LDNS_SHA512_BLOCK_LENGTH - usedspace;
842 while (len >= LDNS_SHA512_BLOCK_LENGTH) {
845 ADDINC128(context->bitcount, LDNS_SHA512_BLOCK_LENGTH << 3);
846 len -= LDNS_SHA512_BLOCK_LENGTH;
847 data += LDNS_SHA512_BLOCK_LENGTH;
862 usedspace = (context->bitcount[0] >> 3) % LDNS_SHA512_BLOCK_LENGTH;
876 if (usedspace < LDNS_SHA512_BLOCK_LENGTH) {
877 MEMSET_BZERO(&context->buffer[usedspace], LDNS_SHA512_BLOCK_LENGTH - usedspace);
883 MEMSET_BZERO(context->buffer, LDNS_SHA512_BLOCK_LENGTH - 2);