S145 SoftDevice for nRF54LS05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_ecb_block_encrypt()

uint32_t sd_ecb_block_encrypt ( nrf_ecb_hal_data_t * p_ecb_data)

#include <nrf_soc.h>

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.
Parameters
[in,out]p_ecb_dataPointer to the ECB parameters' struct (two input parameters and one output parameter).
Return values
NRF_SUCCESS