From 78b054eae890e36a556d1ed46df73b5f15f5df69 Mon Sep 17 00:00:00 2001
From: Meng Tan
Date: Mon, 18 Sep 2017 11:34:50 +0200
Subject: [PATCH 4/4] chachapoly: add chachapoly structures with compilation
conditions (chacha20-poly1...@openssh.com support)
Signed-off-by: Meng Tan
---
include/libssh
From a991c4af004f7f761a702f3f4a4cb9747068c1f2 Mon Sep 17 00:00:00 2001
From: Meng Tan
Date: Mon, 18 Sep 2017 11:34:50 +0200
Subject: [PATCH 2/4] chachapoly: handle packet encryption with authenticated
encryption mode
Signed-off-by: Meng Tan
---
src/packet.c | 81
From 3ae2f64ce8ff011f26b965322541c60e7d108a0e Mon Sep 17 00:00:00 2001
From: Meng Tan
Date: Mon, 18 Sep 2017 11:34:50 +0200
Subject: [PATCH 3/4] chachapoly: add external files
Signed-off-by: Meng Tan
---
CMakeLists.txt | 2 +-
DefineOptions.cmake | 1 +
config.h.cmake
From c7cd2cf47a632940f6adfa487b7dd6d9a35c4487 Mon Sep 17 00:00:00 2001
From: Meng Tan
Date: Mon, 18 Sep 2017 11:34:50 +0200
Subject: [PATCH 1/4] chachapoly: refactor cipher structs, add no hmac
possibility
Signed-off-by: Meng Tan
---
include/libssh/crypto.h | 18 +++---
include/l
Here is a patch to support chacha20-poly1...@openssh.com in libssh.
First commit changes some cipher structures needed to prepare the field.
Then I tried to the least possible changes in sending and receiving packet
functions
to support authenticated encryption mode.
Some files from openssh have b