agl / curve25519-donna

Implementations of a fast Elliptic-curve Diffie-Hellman primitive

This URL has Read+Write access

curve25519-donna / test-sc-curve25519.s
100644 9 lines (7 sloc) 0.069 kb
1
2
3
4
5
6
7
8
9
.text
.globl tsc_read
 
tsc_read:
rdtsc
shl $32,%rdx
or %rdx,%rax
ret