aboutsummaryrefslogtreecommitdiff
path: root/src/chachapoly.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chachapoly.c')
-rw-r--r--src/chachapoly.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/chachapoly.c b/src/chachapoly.c
index ab4378e6..904303ef 100644
--- a/src/chachapoly.c
+++ b/src/chachapoly.c
@@ -205,3 +205,8 @@ const struct ssh_cipher_struct chacha20poly1305_cipher = {
.aead_decrypt = chacha20_poly1305_aead_decrypt,
.cleanup = chacha20_cleanup
};
+
+const struct ssh_cipher_struct *ssh_get_chacha20poly1305_cipher(void)
+{
+ return &chacha20poly1305_cipher;
+}