summaryrefslogtreecommitdiffstats
path: root/include/libssh/libcrypto.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-10-18 23:21:52 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-10-18 23:22:24 +0200
commit15e31eb464b31c30499131e184f77d0ad13dcdec (patch)
treea2b5c0b0068cfa825fd803cb41f494be5af2415e /include/libssh/libcrypto.h
parent2e81dd61dde4165cb6c34e13df60b86850dd6ab8 (diff)
downloadlibssh-15e31eb464b31c30499131e184f77d0ad13dcdec.tar.gz
libssh-15e31eb464b31c30499131e184f77d0ad13dcdec.tar.xz
libssh-15e31eb464b31c30499131e184f77d0ad13dcdec.zip
wrapper: Add more evp functions.
Diffstat (limited to 'include/libssh/libcrypto.h')
-rw-r--r--include/libssh/libcrypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/libssh/libcrypto.h b/include/libssh/libcrypto.h
index 54c78b1..c8b157b 100644
--- a/include/libssh/libcrypto.h
+++ b/include/libssh/libcrypto.h
@@ -38,6 +38,9 @@ typedef SHA_CTX* SHACTX;
typedef SHA256_CTX* SHA256CTX;
typedef MD5_CTX* MD5CTX;
typedef HMAC_CTX* HMACCTX;
+#ifdef HAVE_ECC
+typedef EVP_MD_CTX *EVPCTX;
+#endif
#define SHA_DIGEST_LEN SHA_DIGEST_LENGTH
#ifdef MD5_DIGEST_LEN