Creates an ARC4 parameters object.
#include "huarc4.h"
int hu_ARC4ParamsCreate(sb_RNGCtx rngContext, sb_YieldCtx yieldCtx, sb_Params *arc4Params, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
An RNG context. (Optional - set to NULL if key generation will not be performed.)
A yield context. (Optional - set to NULL if yielding is not required.)
The ARC4 parameters object pointer.
A global context.
An RNG context and/or yielding context must be supplied if key generation and/or yielding will be performed, respectively.
The arc4Params parameters object pointer is NULL.
Memory allocation failure.
Success.