elliptic curve cryptography primitives in MIPS asm