summaryrefslogtreecommitdiff
path: root/nacl/crypto_scalarmult/curve25519/athlon/init.s
diff options
context:
space:
mode:
Diffstat (limited to 'nacl/crypto_scalarmult/curve25519/athlon/init.s')
-rw-r--r--nacl/crypto_scalarmult/curve25519/athlon/init.s13
1 files changed, 13 insertions, 0 deletions
diff --git a/nacl/crypto_scalarmult/curve25519/athlon/init.s b/nacl/crypto_scalarmult/curve25519/athlon/init.s
new file mode 100644
index 00000000..edd3c589
--- /dev/null
+++ b/nacl/crypto_scalarmult/curve25519/athlon/init.s
@@ -0,0 +1,13 @@
1.text
2.p2align 5
3.globl _crypto_scalarmult_curve25519_athlon_init
4.globl crypto_scalarmult_curve25519_athlon_init
5_crypto_scalarmult_curve25519_athlon_init:
6crypto_scalarmult_curve25519_athlon_init:
7mov %esp,%eax
8and $31,%eax
9add $0,%eax
10sub %eax,%esp
11fldcw crypto_scalarmult_curve25519_athlon_rounding
12add %eax,%esp
13ret