serval-dna/nacl/nacl-20110221/crypto_scalarmult/curve25519/athlon/init.s

14 lines
321 B
ArmAsm
Raw Normal View History

.text
.p2align 5
.globl _crypto_scalarmult_curve25519_athlon_init
.globl crypto_scalarmult_curve25519_athlon_init
_crypto_scalarmult_curve25519_athlon_init:
crypto_scalarmult_curve25519_athlon_init:
mov %esp,%eax
and $31,%eax
add $0,%eax
sub %eax,%esp
fldcw crypto_scalarmult_curve25519_athlon_rounding
add %eax,%esp
ret