aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/mode.h
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2015-06-17 05:32:36 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2015-06-17 05:32:36 +0300
commit73d14c711ba2d5174210d243d385c8236be1300a (patch)
treefc1566cc3d7365089295b119a27d10b49c1720aa /include/aesni/mode.h
parentadd the "Not implemented" error (diff)
downloadaes-tools-73d14c711ba2d5174210d243d385c8236be1300a.tar.gz
aes-tools-73d14c711ba2d5174210d243d385c8236be1300a.zip
add "boxes" as a uniform encryption interface
CTR is not yet supported.
Diffstat (limited to 'include/aesni/mode.h')
-rw-r--r--include/aesni/mode.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/aesni/mode.h b/include/aesni/mode.h
new file mode 100644
index 0000000..fc00e9c
--- /dev/null
+++ b/include/aesni/mode.h
@@ -0,0 +1,19 @@
+/**
+ * \file
+ * \author Egor Tensin <Egor.Tensin@gmail.com>
+ * \date 2015
+ * \copyright This file is licensed under the terms of the MIT License.
+ * See LICENSE.txt for details.
+ */
+
+#pragma once
+
+typedef enum
+{
+ AESNI_ECB,
+ AESNI_CBC,
+ AESNI_CFB,
+ AESNI_OFB,
+ AESNI_CTR,
+}
+AesNI_Mode;