summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp_local.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/evp_local.h')
-rw-r--r--src/lib/libcrypto/evp/evp_local.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_local.h b/src/lib/libcrypto/evp/evp_local.h
index e0a8afd6b8..015fbb50a9 100644
--- a/src/lib/libcrypto/evp/evp_local.h
+++ b/src/lib/libcrypto/evp/evp_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_local.h,v 1.4 2023/08/11 05:10:35 tb Exp $ */ 1/* $OpenBSD: evp_local.h,v 1.5 2023/09/28 11:29:10 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -61,6 +61,12 @@
61 61
62__BEGIN_HIDDEN_DECLS 62__BEGIN_HIDDEN_DECLS
63 63
64/* XXX - move these to evp.h after unlock. */
65#define EVP_CTRL_GET_IVLEN 0x25
66#define EVP_CIPH_FLAG_CUSTOM_IV_LENGTH 0x400000
67
68#define EVP_CTRL_AEAD_GET_IVLEN EVP_CTRL_GET_IVLEN
69
64/* 70/*
65 * Don't free md_ctx->pctx in EVP_MD_CTX_cleanup(). Needed for ownership 71 * Don't free md_ctx->pctx in EVP_MD_CTX_cleanup(). Needed for ownership
66 * handling in EVP_MD_CTX_set_pkey_ctx(). 72 * handling in EVP_MD_CTX_set_pkey_ctx().