1.4.2.1 DRV_CRYPTO_ECDSA_InitEccParamsSign()
CRYPTO_PKE_RESULT DRV_CRYPTO_ECDSA_InitEccParamsSign (PKE_CONFIG * eccData, uint8_t * inputHash, uint32_t hashLength, uint8_t * privateKey, uint32_t privateKeyLength, PKE_ECC_CURVE eccCurve)
This function initializes the ECDSA parameters and sets up the hardware crypto engine for the signature generation.
| eccData |
Configuration structure to store ECDSA information. |
| inputHash |
Hash input to use for the signature generation. |
| hashLength |
Length of the Hash input. |
| privateKey |
Private key input for the signature generation. |
| privateKeyLength |
Length of the private key. |
| eccCurve |
ECC curve used for the generation. |
| CRYPTO_PKE_RESULT_SUCCESS |
Success. |
| CRYPTO_PKE_RESULT_ERROR_CURVE |
Sign initialization failure. |
