1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-12-08 03:42:12 +03:00

reformat enum ssh_key_exchange_e

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Reviewed-by: Sahana Prasad <sahana@redhat.com>
This commit is contained in:
Jakub Jelen
2025-01-03 15:57:35 +01:00
parent af90168624
commit c6be50cc97

View File

@@ -56,32 +56,32 @@
#define AES_GCM_IVLEN 12 #define AES_GCM_IVLEN 12
enum ssh_key_exchange_e { enum ssh_key_exchange_e {
/* diffie-hellman-group1-sha1 */ /* diffie-hellman-group1-sha1 */
SSH_KEX_DH_GROUP1_SHA1=1, SSH_KEX_DH_GROUP1_SHA1 = 1,
/* diffie-hellman-group14-sha1 */ /* diffie-hellman-group14-sha1 */
SSH_KEX_DH_GROUP14_SHA1, SSH_KEX_DH_GROUP14_SHA1,
#ifdef WITH_GEX #ifdef WITH_GEX
/* diffie-hellman-group-exchange-sha1 */ /* diffie-hellman-group-exchange-sha1 */
SSH_KEX_DH_GEX_SHA1, SSH_KEX_DH_GEX_SHA1,
/* diffie-hellman-group-exchange-sha256 */ /* diffie-hellman-group-exchange-sha256 */
SSH_KEX_DH_GEX_SHA256, SSH_KEX_DH_GEX_SHA256,
#endif /* WITH_GEX */ #endif /* WITH_GEX */
/* ecdh-sha2-nistp256 */ /* ecdh-sha2-nistp256 */
SSH_KEX_ECDH_SHA2_NISTP256, SSH_KEX_ECDH_SHA2_NISTP256,
/* ecdh-sha2-nistp384 */ /* ecdh-sha2-nistp384 */
SSH_KEX_ECDH_SHA2_NISTP384, SSH_KEX_ECDH_SHA2_NISTP384,
/* ecdh-sha2-nistp521 */ /* ecdh-sha2-nistp521 */
SSH_KEX_ECDH_SHA2_NISTP521, SSH_KEX_ECDH_SHA2_NISTP521,
/* curve25519-sha256@libssh.org */ /* curve25519-sha256@libssh.org */
SSH_KEX_CURVE25519_SHA256_LIBSSH_ORG, SSH_KEX_CURVE25519_SHA256_LIBSSH_ORG,
/* curve25519-sha256 */ /* curve25519-sha256 */
SSH_KEX_CURVE25519_SHA256, SSH_KEX_CURVE25519_SHA256,
/* diffie-hellman-group16-sha512 */ /* diffie-hellman-group16-sha512 */
SSH_KEX_DH_GROUP16_SHA512, SSH_KEX_DH_GROUP16_SHA512,
/* diffie-hellman-group18-sha512 */ /* diffie-hellman-group18-sha512 */
SSH_KEX_DH_GROUP18_SHA512, SSH_KEX_DH_GROUP18_SHA512,
/* diffie-hellman-group14-sha256 */ /* diffie-hellman-group14-sha256 */
SSH_KEX_DH_GROUP14_SHA256, SSH_KEX_DH_GROUP14_SHA256,
}; };
enum ssh_cipher_e { enum ssh_cipher_e {