You can change the default mode and policy for ECC public key representation for each parameter object.
The setting of the mode determines both the output format and acceptable input format of ECC public keys. The policy settings determine whether to accept ECC public keys in any representation, or to reject representations other than the one specified for the input/output mode.
hu_ECCParamsModeSet( SB_ECC_COMPRESSION_OFF,
SB_ECC_POINT_INPUT_ACCEPT,
params,
globalCtx )
means that ECC public keys will be output in uncompressed format, and that any representation
is accepted for input.
hu_ECCParamsModeSet( SB_ECC_COMPRESSION_ON,
SB_ECC_POINT_INPUT_REJECT,
params,
globalCtx )
means that ECC public keys will be output in compressed format, and that only compressed
points are accepted for input.