X25519 writes a shared key to |out_shared_key| that is calculated from the
given private key and the peer's public value. It returns one on success and
zero on error.
Don't use the shared key directly, rather use a KDF and also include the two
public values as inputs.
X25519 writes a shared key to |out_shared_key| that is calculated from the given private key and the peer's public value. It returns one on success and zero on error.
Don't use the shared key directly, rather use a KDF and also include the two public values as inputs.