summaryrefslogblamecommitdiffstats
path: root/aes.h
blob: 49410330a966cef0b2ab26e6a83158fe13c9195a (plain) (tree)
1
2
3
4
5
6
7
8
9




                   

                                                                             

                                                              

                
#ifndef _AES_H_
#define _AES_H_

#include <stdint.h>

void AES128_ECB_encrypt(uint8_t* input, const uint8_t* key, uint8_t *output);
void AES128_ECB_decrypt(uint8_t* input, const uint8_t* key, uint8_t *output);
void AES128_ECB_encrypt_nc(uint8_t* data, const uint8_t* key);
void AES128_ECB_decrypt_nc(uint8_t* data, const uint8_t* key);

#endif //_AES_H_