summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authortb <>2022-09-11 17:28:33 +0000
committertb <>2022-09-11 17:28:33 +0000
commitce3d61d93a7b97cb238fc1581f7ac31201a1a744 (patch)
tree2bc46a109db61d8493b74e78e7a23b020f691217 /src/lib
parentecb7605ab840ce06db3ef02745858f6a84c945f7 (diff)
downloadopenbsd-ce3d61d93a7b97cb238fc1581f7ac31201a1a744.tar.gz
openbsd-ce3d61d93a7b97cb238fc1581f7ac31201a1a744.tar.bz2
openbsd-ce3d61d93a7b97cb238fc1581f7ac31201a1a744.zip
Expose various EVP AEAD constants for EVP ChaCha and QUIC
ok jsing
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libcrypto/evp/evp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 73d2b16b51..4a765844c0 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp.h,v 1.105 2022/08/27 09:10:10 jsing Exp $ */ 1/* $OpenBSD: evp.h,v 1.106 2022/09/11 17:28:33 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -282,7 +282,6 @@ extern "C" {
282/* Length of tag for TLS */ 282/* Length of tag for TLS */
283#define EVP_GCM_TLS_TAG_LEN 16 283#define EVP_GCM_TLS_TAG_LEN 16
284 284
285#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_INTERNAL)
286/* CCM TLS constants */ 285/* CCM TLS constants */
287/* Length of fixed part of IV derived from PRF */ 286/* Length of fixed part of IV derived from PRF */
288#define EVP_CCM_TLS_FIXED_IV_LEN 4 287#define EVP_CCM_TLS_FIXED_IV_LEN 4
@@ -297,7 +296,6 @@ extern "C" {
297 296
298/* Length of tag for TLS */ 297/* Length of tag for TLS */
299#define EVP_CHACHAPOLY_TLS_TAG_LEN 16 298#define EVP_CHACHAPOLY_TLS_TAG_LEN 16
300#endif
301 299
302typedef struct evp_cipher_info_st { 300typedef struct evp_cipher_info_st {
303 const EVP_CIPHER *cipher; 301 const EVP_CIPHER *cipher;