summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/s390xcpuid.S
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/s390xcpuid.S')
-rw-r--r--src/lib/libcrypto/s390xcpuid.S35
1 files changed, 0 insertions, 35 deletions
diff --git a/src/lib/libcrypto/s390xcpuid.S b/src/lib/libcrypto/s390xcpuid.S
index 06815347e6..89bf6be82f 100644
--- a/src/lib/libcrypto/s390xcpuid.S
+++ b/src/lib/libcrypto/s390xcpuid.S
@@ -58,41 +58,6 @@ OPENSSL_wipe_cpu:
58 br %r14 58 br %r14
59.size OPENSSL_wipe_cpu,.-OPENSSL_wipe_cpu 59.size OPENSSL_wipe_cpu,.-OPENSSL_wipe_cpu
60 60
61.globl OPENSSL_cleanse
62.type OPENSSL_cleanse,@function
63.align 16
64OPENSSL_cleanse:
65#if !defined(__s390x__) && !defined(__s390x)
66 llgfr %r3,%r3
67#endif
68 lghi %r4,15
69 lghi %r0,0
70 clgr %r3,%r4
71 jh .Lot
72 clgr %r3,%r0
73 bcr 8,%r14
74.Little:
75 stc %r0,0(%r2)
76 la %r2,1(%r2)
77 brctg %r3,.Little
78 br %r14
79.align 4
80.Lot: tmll %r2,7
81 jz .Laligned
82 stc %r0,0(%r2)
83 la %r2,1(%r2)
84 brctg %r3,.Lot
85.Laligned:
86 srlg %r4,%r3,3
87.Loop: stg %r0,0(%r2)
88 la %r2,8(%r2)
89 brctg %r4,.Loop
90 lghi %r4,7
91 ngr %r3,%r4
92 jnz .Little
93 br %r14
94.size OPENSSL_cleanse,.-OPENSSL_cleanse
95
96.section .init 61.section .init
97 brasl %r14,OPENSSL_cpuid_setup 62 brasl %r14,OPENSSL_cpuid_setup
98 63