nrf-softdevice-s132

Crates

git

Versions

default

Flavors

pub unsafe fn sd_ecb_blocks_encrypt(
block_count: u8,
p_data_blocks: *mut nrf_ecb_hal_data_block_t
) -> u32
Expand description

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

@details: 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.

@param[in] block_count Count of blocks in the p_data_blocks array. @param[in,out] p_data_blocks Pointer to the first entry in a contiguous array of @ref nrf_ecb_hal_data_block_t structures.

@retval ::NRF_SUCCESS