aboutsummaryrefslogtreecommitdiffstats
path: root/engines/afalg/e_afalg_err.h
diff options
context:
space:
mode:
authorclucey <catriona.lucey@intel.com>2016-02-23 08:01:01 +0000
committerMatt Caswell <matt@openssl.org>2016-03-07 13:36:17 +0000
commit6cba4a66619dfb2c5cb784fe5aa5677cafbf9a33 (patch)
tree9757390141c45251e2127482dbff5b06f183d538 /engines/afalg/e_afalg_err.h
parent7f458a48ff3a231d5841466525d2aacbcd4f6b77 (diff)
downloadopenssl-6cba4a66619dfb2c5cb784fe5aa5677cafbf9a33.tar.gz
Rework based on feedback:
1. Cleaned up eventfd handling 2. Reworked socket setup code to allow other algorithms to be added in future 3. Fixed compile errors for static build 4. Added error to error stack in all cases of ALG_PERR/ALG_ERR 5. Called afalg_aes_128_cbc() from bind() to avoid race conditions 6. Used MAX_INFLIGHT define in io_getevents system call 7. Coding style fixes Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'engines/afalg/e_afalg_err.h')
-rw-r--r--engines/afalg/e_afalg_err.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/afalg/e_afalg_err.h b/engines/afalg/e_afalg_err.h
index e6a654c74b..64468c3868 100644
--- a/engines/afalg/e_afalg_err.h
+++ b/engines/afalg/e_afalg_err.h
@@ -75,19 +75,23 @@ void ERR_AFALG_error(int function, int reason, char *file, int line);
# define AFALG_F_AFALG_CHK_PLATFORM 100
# define AFALG_F_AFALG_CREATE_BIND_SK 106
# define AFALG_F_AFALG_CREATE_BIND_SOCKET 105
+# define AFALG_F_AFALG_CREATE_SK 108
# define AFALG_F_AFALG_INIT_AIO 101
# define AFALG_F_AFALG_SETUP_ASYNC_EVENT_NOTIFICATION 107
+# define AFALG_F_AFALG_SET_KEY 109
# define AFALG_F_AFALG_SOCKET 102
# define AFALG_F_AFALG_START_CIPHER_SK 103
# define AFALG_F_BIND_AFALG 104
/* Reason codes. */
# define AFALG_R_EVENTFD_FAILED 108
+# define AFALG_R_FAILED_TO_GET_PLATFORM_INFO 111
# define AFALG_R_INIT_FAILED 100
# define AFALG_R_IO_SETUP_FAILED 105
# define AFALG_R_KERNEL_DOES_NOT_SUPPORT_AFALG 101
# define AFALG_R_KERNEL_DOES_NOT_SUPPORT_ASYNC_AFALG 107
# define AFALG_R_MEM_ALLOC_FAILED 102
+# define AFALG_R_SOCKET_ACCEPT_FAILED 110
# define AFALG_R_SOCKET_BIND_FAILED 103
# define AFALG_R_SOCKET_CREATE_FAILED 109
# define AFALG_R_SOCKET_OPERATION_FAILED 104