From 73d14c711ba2d5174210d243d385c8236be1300a Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Wed, 17 Jun 2015 05:32:36 +0300 Subject: add "boxes" as a uniform encryption interface CTR is not yet supported. --- include/aesni/mode.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 include/aesni/mode.h (limited to 'include/aesni/mode.h') 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 + * \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; -- cgit v1.2.3