1.26 CRYPT_ECC_Free Function
C
int CRYPT_ECC_Free(
CRYPT_ECC_CTX* ecc
);Description
This function cleans up memory allocated for an ECC Context.
Preconditions
The context must have been initialized previously with a call to CRYPT_ECC_Initialize.
Parameters
| Parameters | Description |
|---|---|
| ecc | Pointer to context to clean up |
Returns
- BAD_FUNC_ARG - An invalid pointer was passed to the function
- 0 - An invalid pointer was not passed to the function
Remarks
None.
Example
CRYPT_ECC_CTX userA; int ret; ret = CRYPT_ECC_Initialize(&userA); ... ret = CRYPT_ECC_Free(&userA);
