Revert SHA3

Revert "Fix building on android with SHA3_SMALL"

This reverts commit fbf89ea482dfe5b2b6da8d8c6149cbe7ff9fe226.

Revert "Fix building on android with sha3sum applet"

This reverts commit aec06614159d79995fcdc54e8a8acdfe9381d04d.

Revert "sha3: code shrink"

This reverts commit 2cfcc9e9d74447cb770255d1d8cb6f3722df22ba.

Revert "sha3: s/sha3_process_block76/sha3_process_block72/"

This reverts commit e4f0f26bade2560b96ee66e719e464753befa433.

Revert "sha3: rename KeccakF->sha3_process_block76."

This reverts commit 5368fe541c023130843cea361d779addb936b95c.

Revert "sha3: cache ctx->bytes_queued"

This reverts commit 970aa6b5bd95e435e537d123ec8be99c3077af1b.

Revert "sha3: remove two "small code" codepaths: I can't reproduce code size win on them anymore"

This reverts commit 8fb3ab528e1a640342c04d996e54f7fa668fdce6.

Revert "sha3: tweak choice of a fast code path for 64-bit"

This reverts commit 8e7312e12fb088ba99f4f875903926f2ef9ed235.

Revert "sha3: cosmetic tweaks to various names, comments. No logic changes."

This reverts commit 5b7f50f37210706c0f508788991de88244c7b29b.

Revert "sha3: code shrink"

This reverts commit ac4100e103ca2b4e6e782c5814b1f43cef58c00b.

Revert "sha3: code shrink"

This reverts commit a55df2793660941f42589182537d02ce54eaed66.

Revert "sha3: another speedup for SHA3_SMALL=0 case"

This reverts commit 07a54e21dd08bcd752a23095fdedc904eb7127fb.

Revert "sha3: make size/speed optimization decision configurable"

This reverts commit 30a8652fbf16884490cee4a624f039a9ab587269.

Revert "sha3sum: new applet"

This reverts commit b8173b603f57dcf918a67f1ec00763ab5f4e1cf8.
Update README.md
Merge remote-tracking branch 'bb/master' into sm-jb-mr1
Update Copywrite
Merge remote-tracking branch 'sm/sm-jb-mr1-wip' into sm-jb-mr1
Merge remote-tracking branch 'sm/sm-jb-mr1-wip' into sm-jb-mr1
Add fstrim support to restore NAND/eMMC write performance. fstrim applet is a port from util-linux.

"Trimming" your NAND/eMMC storage will restore the write performance back to normal
after having slow down issues on sequential write and random write due to usage over time.

Good reading on subject: http://forum.xda-developers.com/showthread.php?t=1971852

Change-Id: I0ba903cb7248b288152736f2e3392a5bdbe77ba3
Merge remote-tracking branch 'sm/sm-jb-mr1-wip' into sm-jb-mr1
mdev: extend debug logging output

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Merge remote-tracking branch 'bb/master' into HEAD
arp: fix -H/-t handling.

While at it, shrank code.
function                                             old     new   delta
arp_main                                            1558    1487     -71

Signed-off-by: Kuleshov Aleksey <rndfax@yandex.ru>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
arp: code shrink

function                                             old     new   delta
packed_usage                                       29257   29252      -5
arp_main                                            1487    1471     -16

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
mdev: chdir back to /dev after trying to read firmware

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Merge remote-tracking branch 'bb/master' into sm-jb-mr1
vasprintf: do not use xmalloc, it will deadlock on OOM

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Merge remote-tracking branch 'bb/master' into sm-jb-mr1
vasprintf: return -1 on strdup failure

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
fdisk_sun: fix corrupted partition data with blank disk

After creating Sun disk label for the first time for a blank disk,
the partition table appears corrupted because current_label_type will
never get set to a proper type. Fix this by calling check_sun_label()
after BusyBox has created the label.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
fdisk_sun: fix partition alignment

When the display unit is sectors, the partition alignment will convert
the partition start to a wrong unit (it should always be in sectors). Fix
this.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Merge remote-tracking branch 'bb/master' into sm-jb-mr1