diff options
author | Matt Caswell <matt@openssl.org> | 2015-09-22 09:54:43 +0200 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-09-25 16:13:57 +0200 |
commit | 51a6081719373d5dabda0d628d1637c501dd2068 (patch) | |
tree | 8be21554ae1e269cbdd15fc75cc920b61d4dc38f /engines/e_ossltest_err.h | |
parent | Properly format linux-arm64ilp32 target config (diff) | |
download | openssl-51a6081719373d5dabda0d628d1637c501dd2068.tar.xz openssl-51a6081719373d5dabda0d628d1637c501dd2068.zip |
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.h | 1 |
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 |