hu_RngANSIX931Destroy()

Destroys an ANSI X9.31 RNG context object.

Synopsis:

#include "hurandom.h"
 
int hu_RngANSIX931Destroy(sb_RNGCtx *rngCtx, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

rngCtx

An RNG context object pointer.

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_CONTEXT_PTR

The RNG context object pointer is NULL.

SB_ERR_NULL_CONTEXT

The RNG context object is NULL.

SB_ERR_BAD_CONTEXT

The RNG context is invalid.

SB_SUCCESS

Success.