Expands the given ECC public key object so that subsequent operations using the key may be faster.
#include "huecc.h"
int hu_ECCKeyExpand(sb_Params eccParams, int optLevel, sb_PublicKey publicKey, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
An ECC parameters object.
Ignored.
An ECC public key object.
A global context.
Additional memory is allocated to store the expansion data in the public key object. The amount of memory required depends on the optimization level of the corresponding ECC parameters object.
The eccParams object is NULL.
The tag for the params object is not of the expected type.
The publicKey object is NULL.
The publicKey object is invalid.
Memory allocation failure.
Success.