1.2.2.1 DRV_CRYPTO_ECDH_GetSharedSecret()
CRYPTO_PKE_RESULT DRV_CRYPTO_ECDH_GetSharedSecret (PKE_CONFIG * eccData, uint8_t * secret, uint32_t secretLength)
Generate the Shared Secret.
eccData |
Configuration structure for ECDH information. |
secret |
Ouput to store the Shared Secret to. |
secretLength |
Length of the Shared Secret. |
CRYPTO_PKE_RESULT_SUCCESS on success. CRYPTO_PKE_RESULT_ERROR_FAIL on failure. |