diff options
Diffstat (limited to 'nacl/crypto_scalarmult/curve25519/athlon/init.s')
-rw-r--r-- | nacl/crypto_scalarmult/curve25519/athlon/init.s | 13 |
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: | ||
6 | crypto_scalarmult_curve25519_athlon_init: | ||
7 | mov %esp,%eax | ||
8 | and $31,%eax | ||
9 | add $0,%eax | ||
10 | sub %eax,%esp | ||
11 | fldcw crypto_scalarmult_curve25519_athlon_rounding | ||
12 | add %eax,%esp | ||
13 | ret | ||