summaryrefslogtreecommitdiffstats
path: root/engines/e_ossltest_err.h
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-09-22 08:54:43 +0100
committerMatt Caswell <matt@openssl.org>2015-09-25 15:13:57 +0100
commit51a6081719373d5dabda0d628d1637c501dd2068 (patch)
tree8be21554ae1e269cbdd15fc75cc920b61d4dc38f /engines/e_ossltest_err.h
parenta2c1dedc5de3312fd4d6506923f2a61eecc67985 (diff)
Change ossltest engine to manually allocate cipher_data
The ossltest engine wraps the built-in implementation of aes128-cbc. Normally in an engine the cipher_data structure is automatically allocated by the EVP layer. However this relies on the engine specifying up front the size of that cipher_data structure. In the case of ossltest this value isn't available at compile time. This change makes the ossltest engine allocate its own cipher_data structure instead of leaving it to the EVP layer. Reviewed-by: Andy Polyakov <appro@openssl.org>
Diffstat (limited to 'engines/e_ossltest_err.h')
-rw-r--r--engines/e_ossltest_err.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/e_ossltest_err.h b/engines/e_ossltest_err.h
index 8f874e00a0..b46eb05c1c 100644
--- a/engines/e_ossltest_err.h
+++ b/engines/e_ossltest_err.h
@@ -73,6 +73,7 @@ static void ERR_OSSLTEST_error(int function, int reason, char *file, int line);
/* Function codes. */
# define OSSLTEST_F_BIND_OSSLTEST 100
+# define OSSLTEST_F_OSSLTEST_AES128_INIT_KEY 101
/* Reason codes. */
# define OSSLTEST_R_INIT_FAILED 100