summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/arm64cpuid.S
diff options
context:
space:
mode:
authortb <>2022-03-23 15:13:31 +0000
committertb <>2022-03-23 15:13:31 +0000
commit6031485b6ac1cfd8d2fe566ec0053a3941e253c8 (patch)
tree60dad784410264bdfe0d651fe928712cbdc5329c /src/lib/libcrypto/arm64cpuid.S
parentdf8e338b70b1220c112b187d623ced3ace339b90 (diff)
downloadopenbsd-6031485b6ac1cfd8d2fe566ec0053a3941e253c8.tar.gz
openbsd-6031485b6ac1cfd8d2fe566ec0053a3941e253c8.tar.bz2
openbsd-6031485b6ac1cfd8d2fe566ec0053a3941e253c8.zip
Start disentangling armv7 and aarch64 code
arm_arch.h and armcap.c are shared between armv7 and aarch64 which results in an inscrutable #ifdef maze. Move copies of these files into arch/{arm,aarch64}/ with appropriate names and some trivial minor adjustments. ok deraadt inoguchi kettenis
Diffstat (limited to 'src/lib/libcrypto/arm64cpuid.S')
-rw-r--r--src/lib/libcrypto/arm64cpuid.S47
1 files changed, 0 insertions, 47 deletions
diff --git a/src/lib/libcrypto/arm64cpuid.S b/src/lib/libcrypto/arm64cpuid.S
deleted file mode 100644
index 5eeff91c6e..0000000000
--- a/src/lib/libcrypto/arm64cpuid.S
+++ /dev/null
@@ -1,47 +0,0 @@
1#include "arm_arch.h"
2
3.text
4.arch armv8-a+crypto+sha3
5
6.align 5
7.globl _armv7_neon_probe
8.type _armv7_neon_probe,%function
9_armv7_neon_probe:
10 orr v15.16b, v15.16b, v15.16b
11 ret
12.size _armv7_neon_probe,.-_armv7_neon_probe
13
14.globl _armv8_aes_probe
15.type _armv8_aes_probe,%function
16_armv8_aes_probe:
17 aese v0.16b, v0.16b
18 ret
19.size _armv8_aes_probe,.-_armv8_aes_probe
20
21.globl _armv8_sha1_probe
22.type _armv8_sha1_probe,%function
23_armv8_sha1_probe:
24 sha1h s0, s0
25 ret
26.size _armv8_sha1_probe,.-_armv8_sha1_probe
27
28.globl _armv8_sha256_probe
29.type _armv8_sha256_probe,%function
30_armv8_sha256_probe:
31 sha256su0 v0.4s, v0.4s
32 ret
33.size _armv8_sha256_probe,.-_armv8_sha256_probe
34
35.globl _armv8_pmull_probe
36.type _armv8_pmull_probe,%function
37_armv8_pmull_probe:
38 pmull v0.1q, v0.1d, v0.1d
39 ret
40.size _armv8_pmull_probe,.-_armv8_pmull_probe
41
42.globl _armv8_sha512_probe
43.type _armv8_sha512_probe,%function
44_armv8_sha512_probe:
45 sha512su0 v0.2d,v0.2d
46 ret
47.size _armv8_sha512_probe,.-_armv8_sha512_probe