summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2017-02-06 19:25:34 +0000
committerDr. Stephen Henson <steve@openssl.org>2017-02-08 02:16:27 +0000
commit20fc2051d2f8ec678b62d5f5c9d799ce51368120 (patch)
tree37ef9f42807bed9b4fbe7bde07f5b0d875986415 /include
parentec07b1d872300f347c436ff5e549b94f79c0fa63 (diff)
Use contants for Chacha/Poly, redo algorithm expressions.
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2550)
Diffstat (limited to 'include')
-rw-r--r--include/openssl/evp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h
index 237a2b2dad..f34f30ecf7 100644
--- a/include/openssl/evp.h
+++ b/include/openssl/evp.h
@@ -374,6 +374,9 @@ typedef struct {
/* Length of CCM8 tag for TLS */
# define EVP_CCM8_TLS_TAG_LEN 8
+/* Length of tag for TLS */
+# define EVP_CHACHAPOLY_TLS_TAG_LEN 16
+
typedef struct evp_cipher_info_st {
const EVP_CIPHER *cipher;
unsigned char iv[EVP_MAX_IV_LENGTH];