s390x assembly pack: cache capability query results.
authorAndy Polyakov <appro@openssl.org>
Fri, 15 Apr 2016 14:39:22 +0000 (16:39 +0200)
committerAndy Polyakov <appro@openssl.org>
Mon, 25 Apr 2016 09:53:45 +0000 (11:53 +0200)
commit670ad0fbf6ebcf113e278d8174081a7e2d2fa44c
treeb113688a273d8dcc2e70148a4265c5fd8a6c381c
parent299ccadcdb99001c618d188fb243c1caaaa86a1c
s390x assembly pack: cache capability query results.

IBM argues that in certain scenarios capability query is really
expensive. At the same time it's asserted that query results can
be safely cached, because disabling CPACF is incompatible with
reboot-free operation.

Reviewed-by: Tim Hudson <tjh@openssl.org>
crypto/aes/asm/aes-s390x.pl
crypto/modes/asm/ghash-s390x.pl
crypto/s390xcpuid.S
crypto/sha/asm/sha1-s390x.pl
crypto/sha/asm/sha512-s390x.pl