1.4.2.5 DRV_CRYPTO_ECDSA_Sign_Start()

CRYPTO_PKE_RESULT DRV_CRYPTO_ECDSA_Sign_Start (uint8_t * inputHash, uint32_t hashLength, uint8_t * privateKey, uint32_t privateKeyLength, PKE_ECC_CURVE eccCurve)

Initialize and start the non-blocking ECDSA signature generation process.

Parameters:
inputHash

Hash input to use for the signature generation.

hashLength

Length of the hash input.

privateKey

Public key input for signature generation.

privateKeyLength

Length of the public key.

eccCurve

ECC curve used for generation.

Returns:

CRYPTO_PKE_RESULT_SUCCESS on success. CRYPTO_PKE_RESULT_ERROR_FAIL on failure.

Note:

This function initializes the hardware crypto engine with ECDSA parameters.