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

◆ sd_ecb_blocks_encrypt()

uint32_t sd_ecb_blocks_encrypt ( uint8_t block_count,
nrf_ecb_hal_data_block_t * p_data_blocks )

#include <nrf_soc.h>

Encrypts multiple data blocks provided as an array of data block structures.

: Performs 128-bit AES encryption on multiple data blocks

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]block_countCount of blocks in the p_data_blocks array.
[in,out]p_data_blocksPointer to the first entry in a contiguous array of nrf_ecb_hal_data_block_t structures.
Return values
NRF_SUCCESS