diff options
author | Andy Polyakov <appro@openssl.org> | 2018-02-11 12:29:06 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2018-02-12 14:04:53 +0100 |
commit | 77f3612e2bd930b27dcab63fdcca1d7091cb948d (patch) | |
tree | 1bc8052e36ad1a604fa11da19409b117589ec661 /crypto/arm64cpuid.pl | |
parent | 1d0c08b4963f5f7e1d1855e360417a11973d8455 (diff) |
crypto/armcap.c: detect hardware-assisted SHA512 support.
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'crypto/arm64cpuid.pl')
-rwxr-xr-x | crypto/arm64cpuid.pl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crypto/arm64cpuid.pl b/crypto/arm64cpuid.pl index caa33875c9..68734f5bed 100755 --- a/crypto/arm64cpuid.pl +++ b/crypto/arm64cpuid.pl @@ -63,6 +63,7 @@ _armv8_sha256_probe: sha256su0 v0.4s, v0.4s ret .size _armv8_sha256_probe,.-_armv8_sha256_probe + .globl _armv8_pmull_probe .type _armv8_pmull_probe,%function _armv8_pmull_probe: @@ -70,6 +71,13 @@ _armv8_pmull_probe: ret .size _armv8_pmull_probe,.-_armv8_pmull_probe +.globl _armv8_sha512_probe +.type _armv8_sha512_probe,%function +_armv8_sha512_probe: + .long 0xcec08000 // sha512su0 v0.2d,v0.2d + ret +.size _armv8_sha512_probe,.-_armv8_sha512_probe + .globl OPENSSL_cleanse .type OPENSSL_cleanse,%function .align 5 |