Move RNG initialization to RAND_poll(), and shared definitions to