This function sets up an ECP group context from a standardized set of domain parameters.
This function frees the components of an ECP group.
This function performs multiplication of a point by an integer: \p R = \p m * \p P in a restartable way. \see mbedtls_ecp_mul()
This function generates a private key.
This function initializes an ECP group context without loading any domain parameters.
This function performs a scalar multiplication of a point by an integer: \p R = \p m * \p P. It is not thread-safe to use same group in multiple threads.
This function copies the contents of group \p src into group \p dst.
This function imports a point from unsigned binary data.
This function imports a point from a TLS ECPoint record.
This function exports a point as a TLS ECPoint record defined in RFC 4492, Section 5.4.
This function performs multiplication and addition of two points by integers: \p R = \p m * \p P + \p n * \p Q in a restartable way. \see \c mbedtls_ecp_muladd()
This function checks that a point is a valid public key on this curve. It only checks that the point is non-zero, has valid coordinates and lies on the curve. It does not verify that it is indeed a multiple of \p G. This additional check is computationally more expensive, is not required by standards, and should not be necessary if the group used has a small cofactor. In particular, it is useless for the NIST groups which all have a cofactor of 1.
This function checks that an \p mbedtls_mpi is a valid private key for this curve.
This function generates an ECP keypair.
This function exports a point into unsigned binary data.
This function exports an elliptic curve as a TLS ECParameters record as defined in RFC 4492, Section 5.4.
This function computes the shared secret. This function performs the second of two core computations implemented during the ECDH key exchange. The first core computation is performed by mbedtls_ecdh_gen_public(). \see ecp.h
This function generates a keypair with a configurable base point.
This function computes the ECDSA signature of a previously-hashed message. \see ecp.h
This function verifies the ECDSA signature of a previously-hashed message. \see ecp.h
This function sets up an ECP group context from a TLS ECParameters record as defined in RFC 4492, Section 5.4.
This function performs multiplication and addition of two points by integers: \p R = \p m * \p P + \p n * \p Q It is not thread-safe to use same group in multiple threads.