hu_ECCParamsModeGet()

Gets the input policy and output format of elliptic curve point representations in the ECC parameters object.

Synopsis:

#include "huecc.h"
 
int hu_ECCParamsModeGet(sb_Params eccParams, int *policy, int *mode, sb_GlobalCtx sbCtx)

Since:

BlackBerry 10.0.0

Arguments:

eccParams

An ECC parameters object.

policy

Point compression input policy. (Optional)

mode

Point compression output mode. (Optional)

sbCtx

A global context.

Library:

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

Description:

For a description of policy and mode values and what they mean, see hu_ECCParamsModeSet().

Returns:

SB_ERR_NULL_PARAMS

The eccParams object is NULL.

SB_ERR_BAD_PARAMS

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

SB_SUCCESS

Success.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus