knx
ETS configurable knx-stack
aes.c File Reference

Go to the source code of this file.

Typedefs

typedef uint8_t state_t[4][4]
 

Functions

void AES_init_ctx (struct AES_ctx *ctx, const uint8_t *key)
 
void AES_init_ctx_iv (struct AES_ctx *ctx, const uint8_t *key, const uint8_t *iv)
 
void AES_ctx_set_iv (struct AES_ctx *ctx, const uint8_t *iv)
 
void AES_ECB_encrypt (const struct AES_ctx *ctx, uint8_t *buf)
 
void AES_ECB_decrypt (const struct AES_ctx *ctx, uint8_t *buf)
 
void AES_CBC_encrypt_buffer (struct AES_ctx *ctx, uint8_t *buf, uint32_t length)
 
void AES_CBC_decrypt_buffer (struct AES_ctx *ctx, uint8_t *buf, uint32_t length)
 
void AES_CTR_xcrypt_buffer (struct AES_ctx *ctx, uint8_t *buf, uint32_t length)
 

Typedef Documentation

◆ state_t

typedef uint8_t state_t[4][4]

Definition at line 72 of file aes.c.

Function Documentation

◆ AES_CBC_decrypt_buffer()

void AES_CBC_decrypt_buffer ( struct AES_ctx ctx,
uint8_t *  buf,
uint32_t  length 
)

Definition at line 546 of file aes.c.

◆ AES_CBC_encrypt_buffer()

void AES_CBC_encrypt_buffer ( struct AES_ctx ctx,
uint8_t *  buf,
uint32_t  length 
)

Definition at line 529 of file aes.c.

◆ AES_CTR_xcrypt_buffer()

void AES_CTR_xcrypt_buffer ( struct AES_ctx ctx,
uint8_t *  buf,
uint32_t  length 
)

Definition at line 569 of file aes.c.

◆ AES_ctx_set_iv()

void AES_ctx_set_iv ( struct AES_ctx ctx,
const uint8_t *  iv 
)

Definition at line 244 of file aes.c.

◆ AES_ECB_decrypt()

void AES_ECB_decrypt ( const struct AES_ctx ctx,
uint8_t *  buf 
)

Definition at line 503 of file aes.c.

◆ AES_ECB_encrypt()

void AES_ECB_encrypt ( const struct AES_ctx ctx,
uint8_t *  buf 
)

Definition at line 497 of file aes.c.

◆ AES_init_ctx()

void AES_init_ctx ( struct AES_ctx ctx,
const uint8_t *  key 
)

Definition at line 234 of file aes.c.

◆ AES_init_ctx_iv()

void AES_init_ctx_iv ( struct AES_ctx ctx,
const uint8_t *  key,
const uint8_t *  iv 
)

Definition at line 239 of file aes.c.