Obtain integer value from point order integer object.
#include "hueccalc.h"
int hu_ECCalcOrderIntGet(sb_Params eccParams, sb_ECCalcOrderInt orderInt, size_t *orderIntLen, unsigned char *orderIntValue, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
ECC parameters object.
The point order integer object.
The length (in bytes) of the point order integer buffer.
The point order integer buffer.
SB context or memory callback data.
If the output buffer is sufficiently large, the integer value will be set in the output buffer, and the length is set in the length parameter. The integer value is represented in the octet string format (as a finite field element).
If the output buffer is not sufficient, an error is returned, and the necessary (correct) size is set in the length parameter.
In order to retrieve the necessary size of the output buffer, set orderIntValue to NULL. The length is set in the orderIntLen parameter.
ECC parameters object is NULL.
ECC parameters object is invalid.
The point order integer objects is NULL.
The point order integer object is invalid.
The length pointer of the value buffer is NULL.
The point order integer buffer length is invalid.
Success.