1.4.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)

This function initializes the ECDSA parameters and sets up the hardware crypto engine for the signature verification.

Parameters:
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 the signature verification.

publicKeyLength

Length of the public key.

eccCurve

ECC curve used for the verification.

Return values:
CRYPTO_PKE_RESULT_SUCCESS

Success.

CRYPTO_PKE_RESULT_ERROR_FAIL

Verify initialization failure.