LP-89 - Port OP_15.05.01 fixes. Release notes:
[librepilot.git] / flight / libraries / inc / aes.h
blob43bcdb92653b34b7fef0e1b1f6818bb3e7f9da6a
1 #ifndef _AES_H_
2 #define _AES_H_
4 #define N_ROW 4
5 #define N_COL 4
6 #define N_BLOCK (N_ROW * N_COL)
8 void aes_encrypt_cbc_128(void *data, void *key, void *chain_block);
9 void aes_decrypt_cbc_128(void *data, void *key, void *chain_block);
10 void aes_decrypt_key_128_create(void *enc_key, void *dec_key);
12 void aes_encrypt_cbc_256(void *data, void *key, void *chain_block);
13 void aes_decrypt_cbc_256(void *data, void *key, void *chain_block);
14 void aes_decrypt_key_256_create(void *enc_key, void *dec_key);
16 #endif