DPE: Fix COSE_Key encoding

When exporting an EC public key with psa_export_key
then a fixed 0x04 byte is added to the beginning
of the key. This must be removed when converting
it to COSE_Key.

Change-Id: If61abf594bdc381b8a8cc9149332daaa0e16f916
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
1 file changed