IDLC parameters (huidlc.h)

IDLC operations require a parameters object to be created. Functions are provided to generate domain parameters randomly, set parameters from provided values, or choose from a set of well-known parameters.

To generate a parameters object for IDLC operations, use one of: hu_IDLCParamsGen(), hu_IDLCANSIParamsGen(), or hu_IDLCFIPSParamsGen(). The latter two functions should be used if you need to comply with ANSI X9.42 specifications or FIPS 186 specifications, respectively.

To set a parameters object, use one of: hu_IDLCDSAParamsSet(), hu_IDLCDHParamsSet(), or hu_IDLCParamsSet.

To choose a well-known parameter, use hu_IDLCParamsCreate(), specifying which parameters set (from the list of HU_IDLC_GROUP_* sets) you wish to use. Currently, the groups available for use are:

  • HU_IDLC_GROUP_IPSEC_1 (RFC 2409 First Oakley Group)
  • HU_IDLC_GROUP_IPSEC_2 (RFC 2409 Second Oakley Group)
  • HU_IDLC_GROUP_IPSEC_5 (RFC 3526 Group 5)
  • HU_IDLC_GROUP_IPSEC_14 (RFC 3526 Group 14)
  • HU_IDLC_GROUP_IPSEC_15 (RFC 3526 Group 15)
  • HU_IDLC_GROUP_IPSEC_16 (RFC 3526 Group 16)
  • HU_IDLC_GROUP_IPSEC_17 (RFC 3526 Group 17)
  • HU_IDLC_GROUP_IPSEC_18 (RFC 3526 Group 18)
  • HU_IDLC_GROUP_WTLS_1 (WTLS Diffie-Hellman Group 1)
  • HU_IDLC_GROUP_WTLS_2 (WTLS Diffie-Hellman Group 2)

The function hu_IDLCParamsDestroy() is used to destroy the IDLC parameters object.

Last modified: 2014-05-14

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

comments powered by Disqus