summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r--src/lib/libcrypto/evp/evp.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 2e6053c9bc..aa0a9e77c9 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.89 2021/12/24 12:02:15 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.90 2021/12/24 12:55:04 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 *
@@ -520,9 +520,11 @@ int EVP_CIPHER_CTX_get_iv(const EVP_CIPHER_CTX *ctx,
520int EVP_CIPHER_CTX_set_iv(EVP_CIPHER_CTX *ctx, 520int EVP_CIPHER_CTX_set_iv(EVP_CIPHER_CTX *ctx,
521 const unsigned char *iv, size_t len); 521 const unsigned char *iv, size_t len);
522int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in); 522int EVP_CIPHER_CTX_copy(EVP_CIPHER_CTX *out, const EVP_CIPHER_CTX *in);
523void * EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx); 523void *EVP_CIPHER_CTX_get_app_data(const EVP_CIPHER_CTX *ctx);
524void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data); 524void EVP_CIPHER_CTX_set_app_data(EVP_CIPHER_CTX *ctx, void *data);
525#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_CRYPTO_INTERNAL) 525#if defined(LIBRESSL_NEXT_API) || defined(LIBRESSL_CRYPTO_INTERNAL)
526void *EVP_CIPHER_CTX_get_cipher_data(const EVP_CIPHER_CTX *ctx);
527void *EVP_CIPHER_CTX_set_cipher_data(EVP_CIPHER_CTX *ctx, void *cipher_data);
526unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx); 528unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx);
527#endif 529#endif
528#define EVP_CIPHER_CTX_type(c) EVP_CIPHER_type(EVP_CIPHER_CTX_cipher(c)) 530#define EVP_CIPHER_CTX_type(c) EVP_CIPHER_type(EVP_CIPHER_CTX_cipher(c))