aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/libcrypto.h
diff options
context:
space:
mode:
authorSimo Sorce <simo@redhat.com>2019-03-13 14:20:52 -0400
committerAndreas Schneider <asn@cryptomilk.org>2019-04-04 08:00:19 +0200
commit30d97979a29953f7094522fd0b6fd031dae0070e (patch)
treefc137be280d616281771c33e44ad86db6bfce762 /include/libssh/libcrypto.h
parent2f38af1559691e6151c60533848479e96e8965bb (diff)
downloadlibssh-30d97979a29953f7094522fd0b6fd031dae0070e.tar.gz
libssh-30d97979a29953f7094522fd0b6fd031dae0070e.tar.xz
libssh-30d97979a29953f7094522fd0b6fd031dae0070e.zip
dh: Confine DH KEX keys handling into fewer functions
In preparation for deferring computation on DH secret material to crypto library specific backends Signed-off-by: Simo Sorce <simo@redhat.com> Reviewed-by: Anderson Toshiyuki Sasaki <ansasaki@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/libcrypto.h')
-rw-r--r--include/libssh/libcrypto.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/libssh/libcrypto.h b/include/libssh/libcrypto.h
index e9e35ec8..8db7d751 100644
--- a/include/libssh/libcrypto.h
+++ b/include/libssh/libcrypto.h
@@ -64,6 +64,7 @@ typedef void *EVPCTX;
#define BROKEN_AES_CTR
#endif
typedef BIGNUM* bignum;
+typedef const BIGNUM* const_bignum;
typedef BN_CTX* bignum_CTX;
#define bignum_new() BN_new()