pub(super) fn write_modexp_mode(&mut self, mode: u32) {
        self.regs().modexp_mode().write(|w| unsafe { w.bits(mode) });
    }
Writes the modular exponentiation mode configuration to the RSA
hardware.
esp-hal/src/rsa/esp32.rs