nrfxlib API 0.1.0
Loading...
Searching...
No Matches
mpsl_ecb.h File Reference
#include <stdint.h>

Go to the source code of this file.

Data Structures

struct  mpsl_ecb_hal_data_t
 AES ECB data structure. More...
 

Macros

#define MPSL_ECB_KEY_LENGTH   (16)
 
#define MPSL_ECB_CLEARTEXT_LENGTH   (16)
 
#define MPSL_ECB_CIPHERTEXT_LENGTH   (MPSL_ECB_CLEARTEXT_LENGTH)
 
#define MPSL_ECB_NO_FLAGS   (0)
 
#define MPSL_ECB_INPUT_LE   (1u << 0)
 
#define MPSL_ECB_OUTPUT_LE   (1u << 1)
 
#define MPSL_ECB_CLEARTEXT_IN_LOCAL_RAM   (1u << 2)
 

Functions

void mpsl_ecb_block_encrypt (mpsl_ecb_hal_data_t *p_ecb_data)
 Encrypts a block according to the specified parameters.
 
void mpsl_ecb_block_encrypt_extended (const uint8_t key[(16)], const uint8_t cleartext[(16)], uint8_t ciphertext[((16))], uint32_t flags)
 Encrypts a block according to the specified parameters.