1
0
Fork 0
nrf51-cryptolib/aes.h

16 lines
254 B
C
Raw Normal View History

2016-06-01 15:07:50 -04:00
#pragma once
#include "block.h"
#include <stdint.h>
typedef struct {
2016-06-07 12:51:42 -04:00
uint8_t key[16];
uint8_t in[16];
uint8_t out[16];
2016-06-01 15:07:50 -04:00
} ecbdata_t;
void aes128_init(uint8_t *);
2016-06-07 12:51:42 -04:00
void aes128_ecb(uint8_t *, uint8_t const *const);
2016-06-07 12:42:08 -04:00
void aes_dump_state(void);