diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2015-09-30 22:42:57 +0300 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-10-01 10:09:11 +0100 |
commit | 3aabc1dd1c969e60bdea8f827d6645ff04c56b67 (patch) | |
tree | d66fac0767c5993b5344e9d4879c137b9ba0d2b5 /include | |
parent | 721c2ac0f427da7ac3c96c8996c8d4b7aeaa9912 (diff) |
Custom cipher constants
Add some custom ctrls for Engine specific use.
Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/openssl/evp.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index c60d178825..02a6f98244 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -427,6 +427,18 @@ struct evp_cipher_st { # define EVP_CTRL_TLS1_1_MULTIBLOCK_DECRYPT 0x1b # define EVP_CTRL_TLS1_1_MULTIBLOCK_MAX_BUFSIZE 0x1c +/* For engine-specific control values */ +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM0 0x1000 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM1 0x1001 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM2 0x1002 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM3 0x1003 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM4 0x1004 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM5 0x1005 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM6 0x1006 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM7 0x1007 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM8 0x1008 +# define EVP_CTRL_ENGINE_CIPHER_CUSTOM9 0x1009 + /* RFC 5246 defines additional data to be 13 bytes in length */ # define EVP_AEAD_TLS1_AAD_LEN 13 |