summaryrefslogtreecommitdiff
path: root/nacl/crypto_onetimeauth/poly1305/x86/constants.s
diff options
context:
space:
mode:
Diffstat (limited to 'nacl/crypto_onetimeauth/poly1305/x86/constants.s')
-rw-r--r--nacl/crypto_onetimeauth/poly1305/x86/constants.s85
1 files changed, 85 insertions, 0 deletions
diff --git a/nacl/crypto_onetimeauth/poly1305/x86/constants.s b/nacl/crypto_onetimeauth/poly1305/x86/constants.s
new file mode 100644
index 00000000..ab2456c3
--- /dev/null
+++ b/nacl/crypto_onetimeauth/poly1305/x86/constants.s
@@ -0,0 +1,85 @@
1# version 20080912
2# D. J. Bernstein
3# Public domain.
4
5.data
6.section .rodata
7.p2align 5
8
9.globl _crypto_onetimeauth_poly1305_x86_constants
10.globl crypto_onetimeauth_poly1305_x86_constants
11.globl crypto_onetimeauth_poly1305_x86_scale
12.globl crypto_onetimeauth_poly1305_x86_two32
13.globl crypto_onetimeauth_poly1305_x86_two64
14.globl crypto_onetimeauth_poly1305_x86_two96
15.globl crypto_onetimeauth_poly1305_x86_alpha32
16.globl crypto_onetimeauth_poly1305_x86_alpha64
17.globl crypto_onetimeauth_poly1305_x86_alpha96
18.globl crypto_onetimeauth_poly1305_x86_alpha130
19.globl crypto_onetimeauth_poly1305_x86_doffset0
20.globl crypto_onetimeauth_poly1305_x86_doffset1
21.globl crypto_onetimeauth_poly1305_x86_doffset2
22.globl crypto_onetimeauth_poly1305_x86_doffset3
23.globl crypto_onetimeauth_poly1305_x86_doffset3minustwo128
24.globl crypto_onetimeauth_poly1305_x86_hoffset0
25.globl crypto_onetimeauth_poly1305_x86_hoffset1
26.globl crypto_onetimeauth_poly1305_x86_hoffset2
27.globl crypto_onetimeauth_poly1305_x86_hoffset3
28.globl crypto_onetimeauth_poly1305_x86_rounding
29
30_crypto_onetimeauth_poly1305_x86_constants:
31crypto_onetimeauth_poly1305_x86_constants:
32crypto_onetimeauth_poly1305_x86_scale:
33.long 0x0,0x37f40000
34
35crypto_onetimeauth_poly1305_x86_two32:
36.long 0x0,0x41f00000
37
38crypto_onetimeauth_poly1305_x86_two64:
39.long 0x0,0x43f00000
40
41crypto_onetimeauth_poly1305_x86_two96:
42.long 0x0,0x45f00000
43
44crypto_onetimeauth_poly1305_x86_alpha32:
45.long 0x0,0x45e80000
46
47crypto_onetimeauth_poly1305_x86_alpha64:
48.long 0x0,0x47e80000
49
50crypto_onetimeauth_poly1305_x86_alpha96:
51.long 0x0,0x49e80000
52
53crypto_onetimeauth_poly1305_x86_alpha130:
54.long 0x0,0x4c080000
55
56crypto_onetimeauth_poly1305_x86_doffset0:
57.long 0x0,0x43300000
58
59crypto_onetimeauth_poly1305_x86_doffset1:
60.long 0x0,0x45300000
61
62crypto_onetimeauth_poly1305_x86_doffset2:
63.long 0x0,0x47300000
64
65crypto_onetimeauth_poly1305_x86_doffset3:
66.long 0x0,0x49300000
67
68crypto_onetimeauth_poly1305_x86_doffset3minustwo128:
69.long 0x0,0x492ffffe
70
71crypto_onetimeauth_poly1305_x86_hoffset0:
72.long 0xfffffffb,0x43300001
73
74crypto_onetimeauth_poly1305_x86_hoffset1:
75.long 0xfffffffe,0x45300001
76
77crypto_onetimeauth_poly1305_x86_hoffset2:
78.long 0xfffffffe,0x47300001
79
80crypto_onetimeauth_poly1305_x86_hoffset3:
81.long 0xfffffffe,0x49300003
82
83crypto_onetimeauth_poly1305_x86_rounding:
84.byte 0x7f
85.byte 0x13