mirror of
https://github.com/clearml/dropbear
synced 2025-02-07 05:17:28 +00:00
Remove blowfish
This commit is contained in:
parent
d14ebdbf0e
commit
6145289e0d
@ -64,10 +64,6 @@ static const struct dropbear_cipher dropbear_aes256 =
|
|||||||
static const struct dropbear_cipher dropbear_aes128 =
|
static const struct dropbear_cipher dropbear_aes128 =
|
||||||
{&aes_desc, 16, 16};
|
{&aes_desc, 16, 16};
|
||||||
#endif
|
#endif
|
||||||
#if DROPBEAR_BLOWFISH
|
|
||||||
static const struct dropbear_cipher dropbear_blowfish =
|
|
||||||
{&blowfish_desc, 16, 8};
|
|
||||||
#endif
|
|
||||||
#if DROPBEAR_TWOFISH256
|
#if DROPBEAR_TWOFISH256
|
||||||
static const struct dropbear_cipher dropbear_twofish256 =
|
static const struct dropbear_cipher dropbear_twofish256 =
|
||||||
{&twofish_desc, 32, 16};
|
{&twofish_desc, 32, 16};
|
||||||
@ -197,9 +193,6 @@ algo_type sshciphers[] = {
|
|||||||
#endif /* DROPBEAR_3DES */
|
#endif /* DROPBEAR_3DES */
|
||||||
|
|
||||||
#if DROPBEAR_ENABLE_CBC_MODE
|
#if DROPBEAR_ENABLE_CBC_MODE
|
||||||
#if DROPBEAR_BLOWFISH
|
|
||||||
{"blowfish-cbc", 0, &dropbear_blowfish, 1, &dropbear_mode_cbc},
|
|
||||||
#endif
|
|
||||||
#endif /* DROPBEAR_ENABLE_CBC_MODE */
|
#endif /* DROPBEAR_ENABLE_CBC_MODE */
|
||||||
{NULL, 0, NULL, 0, NULL}
|
{NULL, 0, NULL, 0, NULL}
|
||||||
};
|
};
|
||||||
|
@ -87,8 +87,6 @@ IMPORTANT: Some options will require "make clean" after changes */
|
|||||||
#define DROPBEAR_AES256 1
|
#define DROPBEAR_AES256 1
|
||||||
#define DROPBEAR_TWOFISH256 0
|
#define DROPBEAR_TWOFISH256 0
|
||||||
#define DROPBEAR_TWOFISH128 0
|
#define DROPBEAR_TWOFISH128 0
|
||||||
/* Compiling in Blowfish will add ~6kB to runtime heap memory usage */
|
|
||||||
#define DROPBEAR_BLOWFISH 0
|
|
||||||
|
|
||||||
/* Enable CBC mode for ciphers. This has security issues though
|
/* Enable CBC mode for ciphers. This has security issues though
|
||||||
* is the most compatible with older SSH implementations */
|
* is the most compatible with older SSH implementations */
|
||||||
|
@ -13,9 +13,6 @@
|
|||||||
/* Fewer entries needed */
|
/* Fewer entries needed */
|
||||||
#define TAB_SIZE 5
|
#define TAB_SIZE 5
|
||||||
|
|
||||||
#if DROPBEAR_BLOWFISH
|
|
||||||
#define LTC_BLOWFISH
|
|
||||||
#endif
|
|
||||||
#if DROPBEAR_AES
|
#if DROPBEAR_AES
|
||||||
#define LTC_RIJNDAEL
|
#define LTC_RIJNDAEL
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user