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:
The function hu_IDLCParamsDestroy() is used to destroy the IDLC parameters object.