1.3.2.2 DRV_CRYPTO_ECDSA_InitEccParamsVerify()
CRYPTO_PKE_RESULT DRV_CRYPTO_ECDSA_InitEccParamsVerify (PKE_CONFIG * eccData, uint8_t * inputHash, uint32_t hashLength, uint8_t * inputSignature, uint32_t signatureLength, uint8_t * publicKey, uint32_t publicKeyLength, PKE_ECC_CURVE eccCurve)
Initialize the ECDSA parameters for signature verification.
eccData |
Configuration structure to store ECDSA information. |
inputHash |
Hash input to use for the signature verification. |
hashLength |
Length of the Hash input. |
inputSignature |
Signature input to verify. |
signatureLength |
Length of the signature. |
publicKey |
Public Key input for signature verification. |
publicKeyLength |
Length of the public key. |
eccCurve |
ECC Curve used for verification. |
CRYPTO_PKE_RESULT_SUCCESS on success. CRYPTO_PKE_RESULT_ERROR_FAIL on failure. |
This function initializes eccData with ECDSA parameters and sets up the Hardware Crypto Engine.