1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-27 13:21:11 +03:00
Files
libssh/include/libssh
Jakub Jelen 46090facba libcrypto: Implement OpenSSH-compatible AES-GCM ciphers using OpenSSL
The commit also propares the internals throughout the code base
for the inclusion of a new AEAD cipher, because previously, the
source code counted only with chacha20-poly1305 cipher, which
is very specific in many cases.

The SSH_HMAC_AEAD_GCM mac algorithm is not actually used, but the name
needed to be defined so we can match in the algorithms selection per
OpenSSH specification (MACs are ignored in case GCM is select as a cipher [1]).

If the provided OpenSSL does not provide  EVP_aes_128_gcm()  function,
the AES-GCM ciphers will not be compiled in.

[1] https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.chacha20poly1305?annotate=HEAD

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
2018-10-09 12:05:40 +02:00
..
2018-06-29 14:41:14 +02:00
2017-12-28 11:17:39 +01:00
2018-09-03 15:00:53 +02:00
2016-11-05 20:00:02 +01:00
2018-06-29 14:41:14 +02:00
2013-01-23 00:22:46 +01:00
2018-07-05 12:55:23 +02:00
2017-12-28 11:17:39 +01:00
2017-12-28 11:17:39 +01:00
2018-07-05 14:35:13 +02:00
2018-07-05 14:35:13 +02:00
2018-09-27 15:21:30 +02:00
2018-06-29 14:41:14 +02:00
2018-06-28 08:41:08 +02:00
2016-05-02 16:40:43 +02:00
2018-09-05 11:43:05 +02:00
2013-01-23 00:22:46 +01:00
2013-11-09 12:26:19 +01:00
2013-01-23 00:22:46 +01:00