[PATCH 6.11 110/695] crypto: n2 - Set err to EINVAL if snprintf fails for hmac