[PATCH] sha3sum: New applet

Lauri Kasanen curaga at operamail.com
Thu Jan 3 20:04:54 UTC 2013


Hi Denys

Attaching a patch for the new SHA-3 algorithm, and a test case.

Bloatcheck:
function                                             old     new   delta
.rodata                                             1947    2435    +488
KeccakF                                                -     376    +376
sha3_hash                                              -     252    +252
usage_messages                                       505     701    +196
KeccakF_RoundConstants                                 -     192    +192
sha3_end                                               -     113    +113
hash_file                                            195     248     +53
KeccakF_RotationConstants                              -      25     +25
KeccakF_PiLane                                         -      25     +25
sha3_begin                                             -      22     +22
KeccakF_Mod5                                           -      10     +10
applet_names                                          14      22      +8
applet_main                                           16      24      +8
applet_nameofs                                         4       6      +2
------------------------------------------------------------------------------
(add/remove: 8/0 grow/shrink: 6/0 up/down: 1770/0)           Total: 1770
bytes
   text    data     bss     dec     hex filename
  12362     762      88   13212    339c busybox_old
  13666     762      88   14516    38b4 busybox_unstripped


- Lauri

-- 
http://www.fastmail.fm - Email service worth paying for. Try it for free

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sha3sum-New-applet.patch
Type: text/x-diff
Size: 12234 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20130103/19bad958/attachment.bin>


More information about the busybox mailing list