ECC parameters (huecc.h)

The first stage of any ECC operation is the creation of an ECC parameters object. An ECC parameters object is created using the hu_ECCParamsCreate() function.

The curve to be used is defined by the curve parameter. The available curves are defined in huecc.h, and are also listed below. A curve's ANSI-equivalent, if one exists, is listed in braces beside it.

The values for the fieldType parameter are one of:

The elliptic curve domain parameters can be retrieved from an ECC parameters object using the hu_ECCParamsGet() function.

The function hu_ECCParamsDestroy() is used to destroy the ECC parameters object.