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.

  • HU_ECC_CURVE_SECT163K1 (ansit163k1)
  • HU_ECC_CURVE_SECT163R2 (ansit163r2)
  • HU_ECC_CURVE_SECT233K1 (ansit233k1)
  • HU_ECC_CURVE_SECT233R1 (ansit233r1)
  • HU_ECC_CURVE_SECT239K1 (ansit239k1)
  • HU_ECC_CURVE_SECT283K1 (ansit283k1)
  • HU_ECC_CURVE_SECT283R1 (ansit283r1)
  • HU_ECC_CURVE_SECT409K1 (ansit409k1)
  • HU_ECC_CURVE_SECT409R1 (ansit409r1)
  • HU_ECC_CURVE_SECT571K1 (ansit571k1)
  • HU_ECC_CURVE_SECT571R1 (ansit571r1)
  • HU_ECC_CURVE_SECP160R1 (ansip160r1)
  • HU_ECC_CURVE_SECP192R1 (ansip192r1)
  • HU_ECC_CURVE_SECP224R1 (ansip224r1)
  • HU_ECC_CURVE_SECP256R1 (ansip256r1)
  • HU_ECC_CURVE_SECP384R1 (ansip384r1)
  • HU_ECC_CURVE_SECP521R1 (ansip521r1)

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.

Last modified: 2014-05-14

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus