NetSim Source Code Help
Loading...
Searching...
No Matches
aes_run.c File Reference
#include "aes.h"
#include <string.h>
#include <stdlib.h>
#include <stdio.h>
Include dependency graph for aes_run.c:

Go to the source code of this file.

Functions

int aes256 (char *str, int *len)
 

Variables

static unsigned char AES_test [16]
 
static unsigned char secret_key [32]
 

Function Documentation

◆ aes256()

int aes256 ( char *  str,
int *  len 
)

Definition at line 28 of file aes_run.c.

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

Variable Documentation

◆ AES_test

unsigned char AES_test[16]
static
Initial value:
=
{ 0xF5, 0xBF, 0x8B, 0x37, 0x13, 0x6F, 0x2E, 0x1F,
0x6B, 0xEC, 0x6F, 0x57, 0x20, 0x21, 0xE3, 0xBA
}

Definition at line 14 of file aes_run.c.

◆ secret_key

unsigned char secret_key[32]
static
Initial value:
=
{
0x4E, 0x46, 0xF8, 0xC5, 0x09, 0x2B, 0x29, 0xE2,
0x9A, 0x97, 0x1A, 0x0C, 0xD1, 0xF6, 0x10, 0xFB,
0x1F, 0x67, 0x63, 0xDF, 0x80, 0x7A, 0x7E, 0x70,
0x96, 0x0D, 0x4C, 0xD3, 0x11, 0x8E, 0x60, 0x1A
}

Definition at line 19 of file aes_run.c.