lib: curve25519, ecdh