Minimise the amount of code dependent on BN_DEBUG_RAND. In particular,