diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-17 05:32:36 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-17 05:32:36 +0300 |
commit | 73d14c711ba2d5174210d243d385c8236be1300a (patch) | |
tree | fc1566cc3d7365089295b119a27d10b49c1720aa /include/aesni/mode.h | |
parent | add the "Not implemented" error (diff) | |
download | aes-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/mode.h | 19 |
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; |