sha/asm/keccak1600-armv8.pl: halve the size of hw-assisted subroutine.
authorAndy Polyakov <appro@openssl.org>
Sat, 22 Sep 2018 12:39:51 +0000 (14:39 +0200)
committerAndy Polyakov <appro@openssl.org>
Fri, 19 Oct 2018 08:43:02 +0000 (10:43 +0200)
commit9986bfefa420f0db920768453bef0b40507db595
tree6f221ec745dc60bd76e32fa4878fa9494b76c213
parent03ad7c009e16a233c733098db3169c560142ccd3
sha/asm/keccak1600-armv8.pl: halve the size of hw-assisted subroutine.

Yes, it's second halving, i.e. it's now 1/4 of original size, or more
specifically inner loop. The challenge with Keccak is that you need
more temporary registers than there are available. By reversing the
order in which columns are assigned in Chi, it's possible to use
three of A[][] registers as temporary prior their assigment.

Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7294)
crypto/sha/asm/keccak1600-armv8.pl