diff options
author | Alexander Dahl <post@lespocky.de> | 2013-03-26 14:05:25 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2013-03-27 19:17:03 +0100 |
commit | 7610fe0b44ccfc2a7ccd74cbb92caa7a95e9fe56 (patch) | |
tree | 94431e94d272737da6cd14005f8c01b751f99ead /rules/dropbear.in | |
parent | 638730da3e986063e66b9fb3d97b10725decc3f6 (diff) | |
download | ptxdist-7610fe0b44ccfc2a7ccd74cbb92caa7a95e9fe56.tar.gz ptxdist-7610fe0b44ccfc2a7ccd74cbb92caa7a95e9fe56.tar.xz |
add options for recently added SHA256 and SHA512 hashes
Make new hash functions available through ptxdist config menu.
Signed-off-by: Alexander Dahl <post@lespocky.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/dropbear.in')
-rw-r--r-- | rules/dropbear.in | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/rules/dropbear.in b/rules/dropbear.in index 8c878ec05..21301bab8 100644 --- a/rules/dropbear.in +++ b/rules/dropbear.in @@ -232,6 +232,32 @@ config DROPBEAR_SHA1_96 Although slower than MD5, this larger digest size makes it stronger against brute force attacks. +config DROPBEAR_SHA256 + bool + prompt "sha256" + default n + help + SHA-2 is a set of cryptographic hash functions (SHA-224, SHA-256, + SHA-384, SHA-512) designed by the National Security Agency (NSA) + and published in 2001 by the NIST as a U.S. Federal Information + Processing Standard. SHA stands for Secure Hash Algorithm. SHA-2 + includes a significant number of changes from its predecessor, + SHA-1. SHA-2 consists of a set of four hash functions with digests + that are 224, 256, 384 or 512 bits. + +config DROPBEAR_SHA512 + bool + prompt "sha512" + default n + help + SHA-2 is a set of cryptographic hash functions (SHA-224, SHA-256, + SHA-384, SHA-512) designed by the National Security Agency (NSA) + and published in 2001 by the NIST as a U.S. Federal Information + Processing Standard. SHA stands for Secure Hash Algorithm. SHA-2 + includes a significant number of changes from its predecessor, + SHA-1. SHA-2 consists of a set of four hash functions with digests + that are 224, 256, 384 or 512 bits. + config DROPBEAR_MD5 bool prompt "md5" |