1.3.2.1 DRV_CRYPTO_ECDH_GetSharedSecret()
CRYPTO_PKE_RESULT DRV_CRYPTO_ECDH_GetSharedSecret (PKE_CONFIG * eccData, uint8_t * secret, uint32_t secretLength)
This function generates the shared secret based on the initialized ECDH parameters.
| eccData |
Configuration structure for the ECDH information. |
| secret |
Output to store the shared secret. |
| secretLength |
Length of the shared secret. |
| CRYPTO_PKE_RESULT_SUCCESS |
Success. |
| CRYPTO_PKE_RESULT_ERROR_FAIL |
Shared secret generation failure. |
