Parameters Object (sb_Params)

A parameters object contains domain parameters for a particular cryptosystem. For example, ECC domain parameters consist of elliptic curve coefficients, an order of the curve and a base point. The length of the public modulus is considered to be the domain parameter of an RSA cryptosystem. For block ciphers, mode of operation is considered to be a parameter that characterizes the cryptosystem.

To create parameters objects for RSA, block ciphers and stream ciphers, call the appropriate ParamsCreate() function and specify details of the particular algorithm.

To create a parameters object for ECC, call hu_ECCParamsCreate() and specify the curve identifier. You must register support for the requested curve.

An IDLC parameters object can be created in several ways. To create a set of domain parameters that are randomly generated, call hu_IDLCParamsGen() and pass in an RNG context. To create a set of domain parameters from supplied values, call the function hu_IDLCParamsSet(). To create a set of domain parameters based on well-known values (that is, described in standards), call hu_IDLCParamsCreate() and specify the parameter set (paramset) identifier. Support for the requested parameter set must be registered.