aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/aes/src/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'aes/src/error.c')
-rw-r--r--aes/src/error.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/aes/src/error.c b/aes/src/error.c
index 8de8a5d..004c869 100644
--- a/aes/src/error.c
+++ b/aes/src/error.c
@@ -220,3 +220,7 @@ AES_StatusCode aes_error_missing_padding(AES_ErrorDetails* err_details) {
AES_StatusCode aes_error_memory_allocation(AES_ErrorDetails* err_details) {
return aes_make_error(err_details, AES_MEMORY_ALLOCATION_ERROR);
}
+
+AES_StatusCode aes_error_mode_requires_init_vector(AES_ErrorDetails* err_details) {
+ return aes_make_error(err_details, AES_MODE_REQUIRES_INIT_VECTOR_ERROR);
+}