hu_ARC2ParamsGet()

Retrieves settings from an ARC2 parameters object.

Synopsis:

#include "huarc2.h"
 
int hu_ARC2ParamsGet(sb_Params arc2Params, int *mode, size_t *effectiveKeyBits, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

arc2Params

The ARC2 parameters object.

mode

The mode of operation.

effectiveKeyBits

The length (in bits) of the effective key strength.

sbCtx

A global context.

Library:

libhuapi (For the qcc command, use the -l huapi option to link against this library)

Description:

Returns:

SB_ERR_NULL_PARAMS

The arc2Params parameters object is NULL.

SB_ERR_BAD_PARAMS

The tag for the params object is not of the expected type.

SB_ERR_NULL_OUTPUT_BUF

All output pointers are NULL.

SB_SUCCESS

Success.