PandA-2024.02
examples
MachSuite
MachSuite
aes
aes
aes.h
Go to the documentation of this file.
1
/*
2
* Byte-oriented AES-256 implementation.
3
* All lookup tables replaced with 'on the fly' calculations.
4
*/
5
#include "support.h"
6
7
typedef
struct
{
8
uint8_t
key
[32];
9
uint8_t enckey[32];
10
uint8_t deckey[32];
11
}
aes256_context
;
12
13
void
aes256_encrypt_ecb
(
aes256_context
*ctx, uint8_t
k
[32], uint8_t buf[16]);
14
16
// Test harness interface code.
17
18
struct
bench_args_t
{
19
aes256_context
ctx
;
20
uint8_t
k
[32];
21
uint8_t buf[16];
22
};
23
aes256_context
Definition:
aes.h:7
key
int key[32]
Definition:
aes.h:67
k
static const uint32_t k[]
Definition:
sha-256.c:22
aes256_encrypt_ecb
void aes256_encrypt_ecb(aes256_context *ctx, uint8_t k[32], uint8_t buf[16])
Definition:
aes.c:176
bench_args_t::ctx
aes256_context ctx
Definition:
aes.h:19
bench_args_t
Definition:
aes.h:18
Generated on Mon Feb 12 2024 13:02:48 for PandA-2024.02 by
1.8.13