diff options
Diffstat (limited to '')
-rw-r--r-- | include/aesni/error.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/aesni/error.h b/include/aesni/error.h index 015b16d..e78406a 100644 --- a/include/aesni/error.h +++ b/include/aesni/error.h @@ -47,6 +47,7 @@ typedef enum AESNI_PARSE_ERROR, ///< Couldn't parse AESNI_INVALID_PKCS7_PADDING_ERROR, ///< Invalid PKCS7 padding while decrypting AESNI_NOT_IMPLEMENTED_ERROR, ///< Not implemented + AESNI_INVALID_PLAINTEXT_LENGTH_ERROR, } AesNI_StatusCode; @@ -167,6 +168,9 @@ AesNI_StatusCode aesni_error_not_implemented( AesNI_ErrorDetails* err_details, const char* what); +AesNI_StatusCode aesni_error_invalid_plaintext_length( + AesNI_ErrorDetails* err_details); + #ifdef __cplusplus } #endif |