hu_DESParamsDestroy()

Destroys an DES parameters object.

Synopsis:

#include "hudes.h"
 
int hu_DESParamsDestroy(sb_Params *desParams, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

desParams

The DES parameters object pointer.

sbCtx

A global context.

Library:

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

Description:

DES contexts and key objects must be destroyed before their corresponding DES parameters object is destroyed.

Returns:

SB_ERR_NULL_PARAMS_PTR

The desParams object pointer is NULL.

SB_ERR_NULL_PARAMS

The desParams object is NULL.

SB_ERR_BAD_PARAMS

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

SB_SUCCESS

Success.