otPlatCryptoEcdsaGetPublicKey() function
Get the associated public key from the input context.
Arguments
aKeyPair
A pointer to an ECDSA key-pair structure where the key-pair is stored.
aPublicKey
A pointer to an ECDSA public key structure to store the public key.
Return value
OT_ERROR_NONE Public key was retrieved successfully, and @p aBuffer is updated. OT_ERROR_PARSE The key-pair DER format could not be parsed (invalid format). OT_ERROR_INVALID_ARGS The @p aContext is NULL.