Found 2 other functions taking a
otPlatCryptoEcdsaPublicKey
argument:
Get the associated public key from the input context.
Get the associated public key from the key reference passed. The public key is stored differently depending on the crypto backend library being used (OPENTHREAD_CONFIG_CRYPTO_LIB). This API must make sure to return the public key as a byte sequence representation of an uncompressed curve point (RFC 6605 - sec 4)