[OpenWrt-Devel] [PATCH][package] dropbear: enable sha2-based hmac by default.

Jo-Philipp Wich jow at openwrt.org
Tue Sep 23 12:34:17 EDT 2014


Hi.

> Dropbear should support sha2-based message authentication.
> This patch will enable hmac-sha2-256 and hmac-sha2-512.

Whats the size increase due to that?

~ Jow

> 
> ------------------------
> --- a/options.h
> +++ b/options.h
> @@ -128,8 +128,8 @@ much traffic. */
>   * which are not the standard form. */
>  #define DROPBEAR_SHA1_HMAC
>  /*#define DROPBEAR_SHA1_96_HMAC*/
> -/*#define DROPBEAR_SHA2_256_HMAC*/
> -/*#define DROPBEAR_SHA2_512_HMAC*/
> +#define DROPBEAR_SHA2_256_HMAC
> +#define DROPBEAR_SHA2_512_HMAC
>  #define DROPBEAR_MD5_HMAC
>  
>  /* You can also disable integrity. Don't bother disabling this if you're
> ------------------------
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
> 
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list