diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2017-02-03 02:43:03 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2017-02-08 02:16:27 +0000 |
commit | aa24c47c834015dd34d00bcf9373113f0c57e1f0 (patch) | |
tree | 1cc76ddf2ef109a9a7db5d478d3697fd2e93114d /include | |
parent | 7114af3054c005d9ff587b78f193d75e4ddf1775 (diff) |
Add constants to CCM and TLS.
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/openssl/evp.h b/include/openssl/evp.h index e44521ce23..237a2b2dad 100644 --- a/include/openssl/evp.h +++ b/include/openssl/evp.h @@ -367,6 +367,12 @@ typedef struct { # define EVP_CCM_TLS_FIXED_IV_LEN 4 /* Length of explicit part of IV part of TLS records */ # define EVP_CCM_TLS_EXPLICIT_IV_LEN 8 +/* Total length of CCM IV length for TLS */ +# define EVP_CCM_TLS_IV_LEN 12 +/* Length of tag for TLS */ +# define EVP_CCM_TLS_TAG_LEN 16 +/* Length of CCM8 tag for TLS */ +# define EVP_CCM8_TLS_TAG_LEN 8 typedef struct evp_cipher_info_st { const EVP_CIPHER *cipher; |