rand.c: Make nonce/IV arguments to cipher-based random generators optional.