diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index df765ade87f9..0da41e8ac9a9 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -188,12 +188,12 @@ - compute_key(Type, OthersPublicKey, MyPrivateKey, Params) -> SharedSecret + compute_key(Type, OthersPublicKey, MyPrivate, Params) -> SharedSecret Computes the shared secret - Type = dh | ecdh | srp + Type = dh | ecdh | srp OthersPublicKey = dh_public() | ecdh_public() | srp_public() - MyPrivate = dh_private() | ecdh_private() | srp_private() + MyPrivate = dh_private() | ecdh_private() | {srp_public(), srp_private()} Params = dh_params() | edhc_params() | srp_params() SharedSecret = binary()