This call can fail, apparently - memory allocation failure, broken parameters in the ecdh object, etc.