diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-18 20:17:51 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-06-18 20:17:51 +0300 |
commit | cad16e0a916be5547a4b6a65afb3d5ee876835ed (patch) | |
tree | c35531cda42ef1541ec53a4a8271d21a76280f7a /include/aesni/error.h | |
parent | code style (diff) | |
download | aes-tools-cad16e0a916be5547a4b6a65afb3d5ee876835ed.tar.gz aes-tools-cad16e0a916be5547a4b6a65afb3d5ee876835ed.zip |
refactoring
Diffstat (limited to '')
-rw-r--r-- | include/aesni/error.h | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/include/aesni/error.h b/include/aesni/error.h index 73b6696..5aa2fb4 100644 --- a/include/aesni/error.h +++ b/include/aesni/error.h @@ -4,8 +4,6 @@ * \date 2015 * \copyright This file is licensed under the terms of the MIT License. * See LICENSE.txt for details. - * - * \brief Declares error codes, error formatting functions, etc. */ #pragma once @@ -44,11 +42,11 @@ extern "C" */ typedef enum { - AESNI_SUCCESS, ///< Everything went fine - AESNI_NULL_ARGUMENT_ERROR, ///< Invalid argument value NULL - AESNI_PARSE_ERROR, ///< Couldn't parse - AESNI_INVALID_PKCS7_PADDING_ERROR, ///< Invalid PKCS7 padding - AESNI_NOT_IMPLEMENTED_ERROR, + AESNI_SUCCESS, ///< Everything went fine + AESNI_NULL_ARGUMENT_ERROR, ///< Invalid argument value NULL + AESNI_PARSE_ERROR, ///< Couldn't parse + AESNI_INVALID_PKCS7_PADDING_ERROR, ///< Invalid PKCS7 padding while decrypting + AESNI_NOT_IMPLEMENTED_ERROR, ///< Not implemented } AesNI_StatusCode; |