aboutsummaryrefslogtreecommitdiffstats
path: root/test/monniaux/bitsliced-aes/aes.h
diff options
context:
space:
mode:
Diffstat (limited to 'test/monniaux/bitsliced-aes/aes.h')
-rw-r--r--test/monniaux/bitsliced-aes/aes.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/monniaux/bitsliced-aes/aes.h b/test/monniaux/bitsliced-aes/aes.h
new file mode 100644
index 00000000..60e3e5d7
--- /dev/null
+++ b/test/monniaux/bitsliced-aes/aes.h
@@ -0,0 +1,12 @@
+#ifndef _AES_H_
+#define _AES_H_
+
+#include <stdint.h>
+
+void aes_ecb_encrypt(uint8_t * outputb, uint8_t * inputb, size_t size, uint8_t * key);
+void aes_ecb_decrypt(uint8_t * outputb, uint8_t * inputb, size_t size, uint8_t * key);
+
+void aes_ctr_encrypt(uint8_t * outputb, uint8_t * inputb, size_t size, uint8_t * key, uint8_t * iv);
+#define aes_ctr_decrypt(outputb,inputb,size,key,iv) aes_ctr_encrypt(outputb,inputb,size,key,iv)
+
+#endif