Lines Matching defs:usedspace

1093 	unsigned int	freespace, usedspace;
1103 usedspace = (unsigned int)((context->bitcount >> 3) %
1105 if (usedspace > 0) {
1107 freespace = ISC_SHA256_BLOCK_LENGTH - usedspace;
1111 memmove(&context->buffer[usedspace], data, freespace);
1119 memmove(&context->buffer[usedspace], data, len);
1122 usedspace = freespace = 0;
1124 POST(usedspace); POST(freespace);
1142 usedspace = freespace = 0;
1144 POST(usedspace); POST(freespace);
1150 unsigned int usedspace;
1157 usedspace = (unsigned int)((context->bitcount >> 3) %
1163 if (usedspace > 0) {
1165 context->buffer[usedspace++] = 0x80;
1167 if (usedspace <= ISC_SHA256_SHORT_BLOCK_LENGTH) {
1169 memset(&context->buffer[usedspace], 0,
1170 ISC_SHA256_SHORT_BLOCK_LENGTH - usedspace);
1172 if (usedspace < ISC_SHA256_BLOCK_LENGTH) {
1173 memset(&context->buffer[usedspace], 0,
1175 usedspace);
1214 usedspace = 0;
1215 POST(usedspace);
1412 unsigned int freespace, usedspace;
1422 usedspace = (unsigned int)((context->bitcount[0] >> 3) %
1424 if (usedspace > 0) {
1426 freespace = ISC_SHA512_BLOCK_LENGTH - usedspace;
1430 memmove(&context->buffer[usedspace], data, freespace);
1438 memmove(&context->buffer[usedspace], data, len);
1441 usedspace = freespace = 0;
1443 POST(usedspace); POST(freespace);
1461 usedspace = freespace = 0;
1463 POST(usedspace); POST(freespace);
1467 unsigned int usedspace;
1469 usedspace = (unsigned int)((context->bitcount[0] >> 3) %
1476 if (usedspace > 0) {
1478 context->buffer[usedspace++] = 0x80;
1480 if (usedspace <= ISC_SHA512_SHORT_BLOCK_LENGTH) {
1482 memset(&context->buffer[usedspace], 0,
1483 ISC_SHA512_SHORT_BLOCK_LENGTH - usedspace);
1485 if (usedspace < ISC_SHA512_BLOCK_LENGTH) {
1486 memset(&context->buffer[usedspace], 0,
1487 ISC_SHA512_BLOCK_LENGTH - usedspace);