summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-09-11 17:28:33 +0000
committertb <>2022-09-11 17:28:33 +0000
commit66a87f09c5b56ec4b967f10cac7a0eb7aa5e5d59 (patch)
tree2bc46a109db61d8493b74e78e7a23b020f691217 /src
parenta71a985a33fd3e4d080d099004788a0c7bd46cf1 (diff)
downloadopenbsd-66a87f09c5b56ec4b967f10cac7a0eb7aa5e5d59.tar.gz
openbsd-66a87f09c5b56ec4b967f10cac7a0eb7aa5e5d59.tar.bz2
openbsd-66a87f09c5b56ec4b967f10cac7a0eb7aa5e5d59.zip
Expose various EVP AEAD constants for EVP ChaCha and QUIC
ok jsing
Diffstat (limited to 'src')
-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;