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

Catalin Patulea cat at vv.carleton.ca
Thu Sep 25 23:11:09 EDT 2014


What's the motivation for this change?

On Thu, Sep 25, 2014 at 11:43 AM, Alive <alive4ever at live.com> wrote:
> X-Patchwork-Id: 6322
> Message-Id: <BLU437-SMTP18D6698761B98124ACA899E4B00 at phx.gbl>
>
> Is there any chance for my proposed patch to be committed?
> http://patchwork.openwrt.org/patch/6322/
>
> Here is a brief comparison about binary and package size increase.
> Tested on AR9330, mips, TL MR3220v2
>
> Before applying sha2-hmac patch
> root at OpenWrt:~# du -sh $(which dropbear)
> 161.5K  /usr/sbin/dropbear
>
> After applying sha2-hmac patch
> root at OpenWrt:~# du -sh $(which dropbear)
> 165.5K  /usr/sbin/dropbear
>
> It's about 4K binary size increase.
>
> debug information
> ssh root at OpenWrt -o MACs=hmac-sha2-512,hmac-sha2-256 -v
> ...
> debug1: SSH2_MSG_KEXINIT sent
> debug1: SSH2_MSG_KEXINIT received
> debug1: kex: server->client aes128-ctr hmac-sha2-512 none
> debug1: kex: client->server aes128-ctr hmac-sha2-512 none
> ...
>
> Package size compared to downloaded trunk
> 84829 Sep 25 02:43 dropbear_2014.65-2_ar71xx.ipk
> 81896 Sep 25 02:13 dropbear_2014.65-2_ar71xx.ipk
> It's about 3K package size increase.
> _______________________________________________
> 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