Speed-up SHA-1 NEON assembly implementation
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 29 Jun 2014 14:36:29 +0000 (17:36 +0300)
committerJussi Kivilinna <jussi.kivilinna@iki.fi>
Sun, 29 Jun 2014 14:36:40 +0000 (17:36 +0300)
commit1b9b00bbe41bbed32563f1102049521e703e72bd
tree105ec5e5c43c7e27951fa500ef0ac2eaf3049627
parent066f068bd0bc4d8e01f1f18b6153cdc8d2c245d7
Speed-up SHA-1 NEON assembly implementation

* cipher/sha1-armv7-neon.S: Tweak implementation for speed-up.
--

Benchmark on Cortex-A8 1008Mhz:

New:
                |  nanosecs/byte   mebibytes/sec   cycles/byte
 SHA1           |      7.04 ns/B     135.4 MiB/s      7.10 c/B

Old:
                |  nanosecs/byte   mebibytes/sec   cycles/byte
 SHA1           |      7.79 ns/B     122.4 MiB/s      7.85 c/B

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
cipher/sha1-armv7-neon.S