pub trait ClientMut<'a> {
    // Required method
    fn mod_exponent_done(
        &'a self,
        status: Result<bool, ErrorCode>,
        message: &'static mut [u8],
        modulus: &'static mut [u8],
        exponent: &'static mut [u8],
        result: &'static mut [u8]
    );
}
Expand description

Upcall from the RsaCryptoBase trait.

Required Methods§

source

fn mod_exponent_done( &'a self, status: Result<bool, ErrorCode>, message: &'static mut [u8], modulus: &'static mut [u8], exponent: &'static mut [u8], result: &'static mut [u8] )

This callback is called when the mod_exponent operation is complete.

The possible ErrorCodes are:

  • BUSY: The system is busy
  • ALREADY: An operation is already on going
  • INVAL: An invalid parameter was supplied
  • SIZE: The size of the result buffer is invalid
  • NOSUPPORT: The operation is not supported

Implementors§