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-06-21 09:10:55 +01:00
2015-04-08 13:25:31 +02:00
2021-06-18 12:59:38 +02:00
2020-11-26 15:54:35 +01:00
2021-06-18 12:59:38 +02:00
2021-03-09 16:09:18 +00:00
2021-06-18 12:59:38 +02:00