summaryrefslogtreecommitdiff
path: root/lib/libcrypto/evp/evp.h
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2018-08-24 19:36:53 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2018-08-24 19:36:53 +0000
commit2f347d99a188c61656f1cb226e623af9ef19c835 (patch)
tree1cc58e56193f255cf3d18e60ce6d654b5236196d /lib/libcrypto/evp/evp.h
parent5f38995bed65701b4a127cba50cd413c9cc40999 (diff)
Provide EVP_CIPHER_CTX_encrypting().
tested in a bulk by sthen ok jsing
Diffstat (limited to 'lib/libcrypto/evp/evp.h')
-rw-r--r--lib/libcrypto/evp/evp.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libcrypto/evp/evp.h b/lib/libcrypto/evp/evp.h
index c6ec0e35d8a..b607be7ae5b 100644
--- a/lib/libcrypto/evp/evp.h
+++ b/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: evp.h,v 1.65 2018/08/24 19:30:24 tb Exp $ */
+/* $OpenBSD: evp.h,v 1.66 2018/08/24 19:36:52 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -491,6 +491,7 @@ unsigned long EVP_CIPHER_flags(const EVP_CIPHER *cipher);
#define EVP_CIPHER_mode(e) (EVP_CIPHER_flags(e) & EVP_CIPH_MODE)
const EVP_CIPHER * EVP_CIPHER_CTX_cipher(const EVP_CIPHER_CTX *ctx);
+int EVP_CIPHER_CTX_encrypting(const EVP_CIPHER_CTX *ctx);
int EVP_CIPHER_CTX_nid(const EVP_CIPHER_CTX *ctx);
int EVP_CIPHER_CTX_block_size(const EVP_CIPHER_CTX *ctx);
int EVP_CIPHER_CTX_key_length(const EVP_CIPHER_CTX *ctx);