dropbear: add ed25519 and chacha20-poly1305
[openwrt/staging/chunkeey.git] / package / network / services / dropbear / Config.in
index 61a04ec876fb0c0cedaf85e5c01d5a41ebe9184d..3de4189e081e57f381fb32b2fb78871551c087c4 100644 (file)
@@ -8,7 +8,7 @@ config DROPBEAR_CURVE25519
                This enables the following key exchange algorithm:
                  curve25519-sha256@libssh.org
 
-               Increases binary size by about 8 kB uncompressed (MIPS).
+               Increases binary size by about 4 kB (MIPS).
 
 config DROPBEAR_ECC
        bool "Elliptic curve cryptography (ECC)"
@@ -49,6 +49,24 @@ config DROPBEAR_ECC_FULL
 
                Increases binary size by about 4 kB (MIPS).
 
+config DROPBEAR_ED25519
+       bool "Ed25519 support"
+       default n
+       help
+               This enables the following public key algorithm:
+                 ssh-ed25519
+
+               Increases binary size by about 12 kB (MIPS).
+
+config DROPBEAR_CHACHA20POLY1305
+       bool "Chacha20-Poly1305 support"
+       default y
+       help
+               This enables the following authenticated encryption cipher:
+                 chacha20-poly1305@openssh.com
+
+               Increases binary size by about 4 kB (MIPS).
+
 config DROPBEAR_ZLIB
        bool "Enable compression"
        default n