FreeRTOS port on GAP8/RISC-V
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
aes.c File Reference

Functions

void pi_aes_conf_init (struct pi_aes_conf *conf)
 
int pi_aes_open (struct pi_device *device)
 
void pi_aes_close (struct pi_device *device)
 
void pi_aes_ioctl (pi_device_t *device, uint32_t cmd, void *arg)
 
int pi_aes_encrypt (struct pi_device *device, void *src, void *dst, uint16_t len)
 
int pi_aes_encrypt_async (struct pi_device *device, void *src, void *dst, uint16_t len, struct pi_task *task)
 
int pi_aes_decrypt (struct pi_device *device, void *src, void *dst, uint16_t len)
 
int pi_aes_decrypt_async (struct pi_device *device, void *src, void *dst, uint16_t len, struct pi_task *task)
 

Function Documentation

void pi_aes_close ( struct pi_device *  device)
void pi_aes_conf_init ( struct pi_aes_conf *  conf)

References __pi_aes_conf_init().

int pi_aes_decrypt ( struct pi_device *  device,
void *  src,
void *  dst,
uint16_t  len 
)
int pi_aes_decrypt_async ( struct pi_device *  device,
void *  src,
void *  dst,
uint16_t  len,
struct pi_task *  task 
)

References __pi_aes_crypt_async().

Referenced by pi_aes_decrypt().

int pi_aes_encrypt ( struct pi_device *  device,
void *  src,
void *  dst,
uint16_t  len 
)
int pi_aes_encrypt_async ( struct pi_device *  device,
void *  src,
void *  dst,
uint16_t  len,
struct pi_task *  task 
)

References __pi_aes_crypt_async().

Referenced by pi_aes_encrypt().

void pi_aes_ioctl ( pi_device_t *  device,
uint32_t  cmd,
void *  arg 
)
int pi_aes_open ( struct pi_device *  device)

References __pi_aes_open(), and AES_TRACE.