Gilles Peskine 56949f6b63 Make immediate constants unsigned
PSA_KEY_LIFETIME_FROM_PERSISTENCE_AND_LOCATION shifts the location
value (location << 8). This can go outside the range of a 32-bit int
if the location value is above 2^23 as is the case here. Asan
rightfully complained about it. Make the value unsigned to avoid the
integer overflow.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2021-06-23 13:44:35 +02:00
..
2021-05-20 10:37:22 +02:00
2021-06-18 12:59:38 +02:00
2021-06-23 13:44:35 +02:00
2021-06-21 10:39:36 +01:00
2021-06-23 13:44:35 +02:00
2021-05-24 12:49:59 +02:00