libnx  v4.7.0
Data Structures | Functions
aes_cbc.h File Reference

Hardware accelerated AES-CBC implementation. More...

#include "aes.h"

Go to the source code of this file.

Data Structures

struct  Aes128CbcContext
 Context for AES-128 CBC. More...
 
struct  Aes192CbcContext
 Context for AES-192 CBC. More...
 
struct  Aes256CbcContext
 Context for AES-256 CBC. More...
 

Functions

void aes128CbcContextCreate (Aes128CbcContext *out, const void *key, const void *iv, bool is_encryptor)
 128-bit CBC API.
 
void aes128CbcContextResetIv (Aes128CbcContext *ctx, const void *iv)
 
size_t aes128CbcEncrypt (Aes128CbcContext *ctx, void *dst, const void *src, size_t size)
 
size_t aes128CbcDecrypt (Aes128CbcContext *ctx, void *dst, const void *src, size_t size)
 
void aes192CbcContextCreate (Aes192CbcContext *out, const void *key, const void *iv, bool is_encryptor)
 192-bit CBC API.
 
void aes192CbcContextResetIv (Aes192CbcContext *ctx, const void *iv)
 
size_t aes192CbcEncrypt (Aes192CbcContext *ctx, void *dst, const void *src, size_t size)
 
size_t aes192CbcDecrypt (Aes192CbcContext *ctx, void *dst, const void *src, size_t size)
 
void aes256CbcContextCreate (Aes256CbcContext *out, const void *key, const void *iv, bool is_encryptor)
 256-bit CBC API.
 
void aes256CbcContextResetIv (Aes256CbcContext *ctx, const void *iv)
 
size_t aes256CbcEncrypt (Aes256CbcContext *ctx, void *dst, const void *src, size_t size)
 
size_t aes256CbcDecrypt (Aes256CbcContext *ctx, void *dst, const void *src, size_t size)
 

Detailed Description

Hardware accelerated AES-CBC implementation.