[PATCH v4 7/8] common: add support to fallback to plain SHA256