Each function targets at the elliptic curve (EC) specified in the
). The function computes a shared secret value using own private keys specified by the
parameter and the party's public key specified by
parameters. If the
parameter is not
, then it is assumed that party's public keys are represented in projective coordinates. If the
, then party's public keys are considered in affine coordinates.