Optimized EC multiplication and finished Diffie-Hellman.