s390x assembly pack: extend s390x capability vector.
authorPatrick Steuer <patrick.steuer@de.ibm.com>
Mon, 2 Oct 2017 09:24:02 +0000 (11:24 +0200)
committerAndy Polyakov <appro@openssl.org>
Mon, 30 Oct 2017 13:31:32 +0000 (14:31 +0100)
commitbc4e831ccd81a1d22a7462df645c884ce33ea7c0
tree3ee3ba6299281803d00c0650b43db0fa5991397b
parent7a908204ed3afe1379151c6d090148edb2fcc87e
s390x assembly pack: extend s390x capability vector.

Extend the s390x capability vector to store the longer facility list
available from z13 onwards. The bits indicating the vector extensions
are set to zero, if the kernel does not enable the vector facility.

Also add capability bits returned by the crypto instructions' query
functions.

Signed-off-by: Patrick Steuer <patrick.steuer@de.ibm.com>
Reviewed-by: Andy Polyakov <appro@openssl.org>
Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4542)
crypto/aes/asm/aes-s390x.pl
crypto/aes/build.info
crypto/modes/asm/ghash-s390x.pl
crypto/modes/build.info
crypto/s390x_arch.h [new file with mode: 0644]
crypto/s390xcap.c
crypto/s390xcpuid.S
crypto/sha/asm/sha1-s390x.pl
crypto/sha/asm/sha512-s390x.pl
crypto/sha/build.info