aboutsummaryrefslogtreecommitdiff
path: root/include/libssh/crypto.h
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-06-30 14:23:05 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-06-30 14:37:04 +0200
commit6dd9303729b430af3eaf1014af5af99c9230e9c7 (patch)
tree66054cac0f7a195506a7d9f8ba2503fe955b9397 /include/libssh/crypto.h
parenta19513b87a7763a521a33771bac238118f9ec6e8 (diff)
downloadlibssh-6dd9303729b430af3eaf1014af5af99c9230e9c7.tar.gz
libssh-6dd9303729b430af3eaf1014af5af99c9230e9c7.tar.xz
libssh-6dd9303729b430af3eaf1014af5af99c9230e9c7.zip
chachapoly: Use a function instead of an extern variable
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'include/libssh/crypto.h')
-rw-r--r--include/libssh/crypto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/libssh/crypto.h b/include/libssh/crypto.h
index d85b74da..490910fa 100644
--- a/include/libssh/crypto.h
+++ b/include/libssh/crypto.h
@@ -161,4 +161,6 @@ struct ssh_cipher_struct {
void (*cleanup)(struct ssh_cipher_struct *cipher);
};
+const struct ssh_cipher_struct *ssh_get_chacha20poly1305_cipher(void);
+
#endif /* _CRYPTO_H_ */