hu_ECCalcECPointDestroy()

Destroys an elliptic curve point object.

Synopsis:

#include "hueccalc.h"
 
int hu_ECCalcECPointDestroy(sb_Params eccParams, sb_ECCalcECPoint *point, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

eccParams

ECC parameters object.

point

The elliptic curve point object.

sbCtx

SB context or memory callback data.

Library:

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

Description:

Elliptic curve point object must be destroyed before the ECC parameters object is destroyed.

Returns:

SB_ERR_NULL_PARAMS

ECC parameters object is NULL.

SB_ERR_BAD_PARAMS

ECC parameters object is invalid.

SB_ERR_NULL_ECPOINT_PTR

The elliptic curve point object pointer is NULL.

SB_ERR_NULL_ECPOINT

The elliptic curve point object is NULL.

SB_ERR_BAD_ECPOINT

The elliptic curve point object is invalid.

SB_SUCCESS

Success.