Creates an ARC4 context initialized with the given parameters and key that can later be used for encryption and/or decryption.
#include "huarc4.h"
int hu_ARC4Begin(sb_Params arc4Params, sb_Key arc4Key, sb_Context *arc4Context, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
An ARC4 parameters object.
An ARC4 key object.
The ARC4 context object pointer.
A global context.
The arc4Params parameters object is NULL.
The tag for the params object is not of the expected type.
arc4Key is NULL.
arc4Key is invalid.
The sbCtx object pointer is NULL.
Memory allocation failure.
Success.