Mistake on this page?
Report an issue in GitHub or email us
Functions
CryptoCell ECC Key Generation APIs

Functions

CRYSError_t CRYS_ECPKI_GenKeyPair (void *rndState_ptr, SaSiRndGenerateVectWorkFunc_t rndGenerateVectFunc, const CRYS_ECPKI_Domain_t *pDomain, CRYS_ECPKI_UserPrivKey_t *pUserPrivKey, CRYS_ECPKI_UserPublKey_t *pUserPublKey, CRYS_ECPKI_KG_TempData_t *pTempData, CRYS_ECPKI_KG_FipsContext_t *pFipsCtx)
 Generates a pair of private and public keys in internal representation according to [ANS X9.62]. More...
 

Detailed Description

Function Documentation

CRYSError_t CRYS_ECPKI_GenKeyPair ( void *  rndState_ptr,
SaSiRndGenerateVectWorkFunc_t  rndGenerateVectFunc,
const CRYS_ECPKI_Domain_t pDomain,
CRYS_ECPKI_UserPrivKey_t pUserPrivKey,
CRYS_ECPKI_UserPublKey_t pUserPublKey,
CRYS_ECPKI_KG_TempData_t pTempData,
CRYS_ECPKI_KG_FipsContext_t pFipsCtx 
)

Generates a pair of private and public keys in internal representation according to [ANS X9.62].

Returns
CRYS_OK on success.
A non-zero value on failure as defined crys_ecpki_error.h or crys_rnd_error.h
Parameters
[in,out]rndState_ptrPointer to the RND state structure.
[in]rndGenerateVectFuncPointer to the random vector generation function.
[in]pDomainPointer to EC domain (curve).
[out]pUserPrivKeyPointer to the private key structure. This structure is used as input to the ECPKI cryptographic primitives.
[out]pUserPublKeyPointer to the public key structure. This structure is used as input to the ECPKI cryptographic primitives.
[in]pTempDataTemporary buffers for internal use, defined in CRYS_ECPKI_KG_TempData_t.
[in]pFipsCtxPointer to temporary buffer used in case FIPS certification if required.
Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.