hu_AESParamsGet()

Retrieves settings from an AES parameters object.

Synopsis:

#include "huaes.h"
 
int hu_AESParamsGet(sb_Params aesParams, int *mode, size_t *blockLen, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

aesParams

The AES parameters object.

mode

The mode of operation.

blockLen

The length (in bits) of an encryption block.

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 aesParams 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.