sign_deterministic() refactored into sign_deterministic() and sign_digest_deterministic()