Function nrf_softdevice_s122::sd_ecb_block_encrypt
source · pub unsafe fn sd_ecb_block_encrypt(p_ecb_data: *mut nrf_ecb_hal_data_t) -> u32
Expand description
@brief Encrypts a block according to the specified parameters.
128-bit AES encryption.
@note: - The application may set the SEVONPEND bit in the SCR to 1 to make the SoftDevice sleep while the ECB is running. The SEVONPEND bit should only be cleared (set to 0) from application main or low interrupt level.
@param[in, out] p_ecb_data Pointer to the ECB parameters’ struct (two input parameters and one output parameter).
@retval ::NRF_SUCCESS