NetSim Source Code Help
Loading...
Searching...
No Matches
aes.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  aes_context
 

Macros

#define uint8   unsigned char
 
#define uint32   unsigned long int
 

Functions

int aes_set_key (aes_context *ctx, uint8 *key, int nbits)
 
void aes_encrypt (aes_context *ctx, uint8 input[16], uint8 output[16])
 
void aes_decrypt (aes_context *ctx, uint8 input[16], uint8 output[16])
 

Macro Definition Documentation

◆ uint32

#define uint32   unsigned long int

Definition at line 9 of file aes.h.

◆ uint8

#define uint8   unsigned char

Definition at line 5 of file aes.h.

Function Documentation

◆ aes_decrypt()

void aes_decrypt ( aes_context ctx,
uint8  input[16],
uint8  output[16] 
)

Definition at line 678 of file aes.c.

◆ aes_encrypt()

void aes_encrypt ( aes_context ctx,
uint8  input[16],
uint8  output[16] 
)

Definition at line 588 of file aes.c.

Here is the caller graph for this function:

◆ aes_set_key()

int aes_set_key ( aes_context ctx,
uint8 key,
int  nbits 
)

Definition at line 437 of file aes.c.

Here is the call graph for this function:
Here is the caller graph for this function: