DPE: Use a 64-bit buffer in call to QCBOR API to retrieve cert_id

The QCBOR API retrieves the cert_id using a pointer to a 64-bit
value, hence passing directly a pointer to a 32-bit cert_id
might break the API. Convert to a 32-bit value just before the
call to the derive_context() function. Also, add debug prints on
negative test related to the modified API.

Signed-off-by: Antonio de Angelis <antonio.deangelis@arm.com>
Change-Id: I03df07dbb86fb3fe61191cb3f56d597d1c4b005e
1 file changed