Creates an ECC parameters object for the specified curve.
#include "huecc.h"
int hu_ECCParamsCreate(int curve, sb_RNGCtx rngCtx, sb_YieldCtx yieldCtx, sb_Params *eccParams, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
The curve identifier. The acceptable values are one of the HU_ECC_CURVE_* macros.
An RNG context. (Optional - set to NULL if key generation or signature generation will not be performed.)
A yield context. (Optional - set to NULL if yielding is not required.)
The ECC parameters object pointer.
A global context.
An RNG context must be supplied if key generation or signature generation will be performed. A yielding context must be supplied if yielding will be performed.
The curve identifier is invalid.
The eccParams object pointer is NULL.
Memory allocation failure.
Success.