aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/aesni/algorithm.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/algorithm.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 '')
-rw-r--r--include/aesni/algorithm.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/aesni/algorithm.h b/include/aesni/algorithm.h
new file mode 100644
index 0000000..8aacfdc
--- /dev/null
+++ b/include/aesni/algorithm.h
@@ -0,0 +1,17 @@
+/**
+ * \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_AES128,
+ AESNI_AES192,
+ AESNI_AES256,
+}
+AesNI_Algorithm;