Defines the API for generation of ECC private and public keys.
More...
Defines the API for generation of ECC private and public keys.
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.
- Parameters
-
[in,out] | pRndContext | Pointer to the RND context buffer. |
[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. |