Curve key exchange via computed secrets with unit test