Fix psa_key_handle_t typedef

When using the PSA Crypto API realized by the TS Crypto client,
PSA interface definitions are used from
components/service/crypto/include/psa. The version of crypto_types.h
under this directory was incorrectly defining the psa_key_handle_t
type as a uint16_t. This was leading to attestation service test
failures because the t_cose library casts a key id to a psa_key_handle_t,
resulting in a 32-bit value being truncated. This change fixes the
definition of the psa_key_handle_t type.

Signed-off-by: Julian Hall <julian.hall@arm.com>
Change-Id: Ia9d886b1cee1fa6877cc1f3be77a255b792b40b1
1 file changed