HASH_FLAGS_FINUP
bool finup = state->flags & HASH_FLAGS_FINUP;
state->flags |= HASH_FLAGS_FINUP;
if (state->flags & HASH_FLAGS_FINUP)