Function esp_idf_svc::sys::esp_mpi_acquire_hardware

source ยท
pub unsafe extern "C" fn esp_mpi_acquire_hardware()
Expand description

@brief Lock access to RSA Accelerator (MPI/bignum operations)

RSA Accelerator hardware unit can only be used by one consumer at a time.

@note This function is non-recursive (do not call it twice from the same task.)

@note You do not need to call this if you are using the mbedTLS bignum.h API or esp_mpi_xxx functions. This function is only needed if you want to call ROM RSA functions or access the registers directly.