SHA512_SHORT_BLOCK_LENGTH
if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) {
(size_t)(SHA512_SHORT_BLOCK_LENGTH - usedspace));
memset(context->buffer, 0, (size_t)(SHA512_SHORT_BLOCK_LENGTH));
memcpy(&context->buffer[SHA512_SHORT_BLOCK_LENGTH],
memcpy(&context->buffer[SHA512_SHORT_BLOCK_LENGTH + 8],
if (usedspace <= SHA512_SHORT_BLOCK_LENGTH) {
bzero(&context->buffer[usedspace], SHA512_SHORT_BLOCK_LENGTH - usedspace);
bzero(context->buffer, SHA512_SHORT_BLOCK_LENGTH);
*(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH] = context->bitcount[1];
*(sha2_word64*)&context->buffer[SHA512_SHORT_BLOCK_LENGTH+8] = context->bitcount[0];