Check rng return value when generating nonces in eap-sim plugin