DPE: Use t_cose_key_encode() API from t_cose

Replace the custom implementation with the library function.

Change-Id: Ib1ef3580ca9eed9221539c79fca04e3797ea429d
Signed-off-by: Tamas Ban <tamas.ban@arm.com>
2 files changed