[PATCH 6.10 096/634] crypto: n2 - Set err to EINVAL if snprintf fails for hmac