Derives a private key from private key request data, private key reconstruction data and a hash of the certificate.
#include "huecc.h"
int hu_ECQVPriKeyDerive(sb_Params eccParams, sb_PrivateKey privateKeyRequestData, sb_PrivateKey privateKeyReconstData, size_t digestLen, const unsigned char *messageDigest, sb_PrivateKey *privateKey, sb_GlobalCtx sbCtx)
BlackBerry 10.0.0
An ECC parameters object.
An ECC private key object of the requester's private key request data.
An ECC private key object of the private key reconstruction data.
The length of the message digest.
Message digest of the certificate.
ECC private key object pointer of the requester's private key.
A global context.
Please note that this is function does not perform any hashing, and therefore, the message digest of the certificate must be supplied in messageDigest.
The eccParams object is NULL.
The tag for the params object is not of the expected type.
The privateKeyRequestData object is NULL.
The privateKeyRequestData object is invalid.
The privateKeyReconstData object is NULL.
The privateKeyReconstData object is invalid.
Message digest pointer is NULL.
Message digest length is zero.
The privateKey object pointer is NULL.
Memory allocation failure.
Success.