Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
CryptoCell ECC Key Generation APIs
[CryptoCell ECC APIs]
Functions | |
CIMPORT_C 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]. |
Function Documentation
CIMPORT_C 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_ptr Pointer to the RND state structure. [in] rndGenerateVectFunc Pointer to the random vector generation function. [in] pDomain Pointer to EC domain (curve). [out] pUserPrivKey Pointer to the private key structure. This structure is used as input to the ECPKI cryptographic primitives. [out] pUserPublKey Pointer to the public key structure. This structure is used as input to the ECPKI cryptographic primitives. [in] pTempData Temporary buffers for internal use, defined in CRYS_ECPKI_KG_TempData_t. [in] pFipsCtx Pointer to temporary buffer used in case FIPS certification if required.
Generated on Tue Jul 12 2022 13:55:21 by
