forked from openssl/openssl
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
armcap.c is shared between 32- and 64-bit builds and features link-time detection of getauxval. Submitted by: Ard Biesheuvel.
- Loading branch information
Andy Polyakov
committed
Jun 1, 2014
1 parent
992bba1
commit e8d93e3
Showing
6 changed files
with
159 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
#include "arm_arch.h" | ||
|
||
.text | ||
.arch armv8-a+crypto | ||
|
||
.align 5 | ||
.global _armv7_neon_probe | ||
.type _armv7_neon_probe,%function | ||
_armv7_neon_probe: | ||
orr v15.16b, v15.16b, v15.16b | ||
ret | ||
.size _armv7_neon_probe,.-_armv7_neon_probe | ||
|
||
.global _armv7_tick | ||
.type _armv7_tick,%function | ||
_armv7_tick: | ||
mrs x0, CNTVCT_EL0 | ||
ret | ||
.size _armv7_tick,.-_armv7_tick | ||
|
||
.global _armv8_aes_probe | ||
.type _armv8_aes_probe,%function | ||
_armv8_aes_probe: | ||
aese v0.16b, v0.16b | ||
ret | ||
.size _armv8_aes_probe,.-_armv8_aes_probe | ||
|
||
.global _armv8_sha1_probe | ||
.type _armv8_sha1_probe,%function | ||
_armv8_sha1_probe: | ||
sha1h s0, s0 | ||
ret | ||
.size _armv8_sha1_probe,.-_armv8_sha1_probe | ||
|
||
.global _armv8_sha256_probe | ||
.type _armv8_sha256_probe,%function | ||
_armv8_sha256_probe: | ||
sha256su0 v0.4s, v0.4s | ||
ret | ||
.size _armv8_sha256_probe,.-_armv8_sha256_probe | ||
.global _armv8_pmull_probe | ||
.type _armv8_pmull_probe,%function | ||
_armv8_pmull_probe: | ||
pmull v0.1q, v0.1d, v0.1d | ||
ret | ||
.size _armv8_pmull_probe,.-_armv8_pmull_probe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters