[PATCH RFC 1/2] Revert "lib: introduce HASH_CALCULATE option"