summaryrefslogtreecommitdiffstats
path: root/utils/sbinfo/aes128_impl.h
blob: 7f1b966cd3838e10f447ab6a8563397b4771b6e0 (plain)
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>
#include <stdint.h>
#include <string.h>

typedef uint8_t byte;

void xor_(byte *a, byte *b, int n);
void EncryptAES(byte *msg, byte *key, byte *c);
void DecryptAES(byte *c, byte *key, byte *m);
void Pretty(byte* b,int len,const char* label);