commit | 22c51517fb075b977e488a8e47574ee4e13d81e5 | [log] [tgz] |
---|---|---|
author | Gilles Peskine <Gilles.Peskine@arm.com> | Fri Apr 12 15:07:32 2019 +0200 |
committer | Gilles Peskine <Gilles.Peskine@arm.com> | Thu Apr 18 09:42:21 2019 +0200 |
tree | 6c8edcc8b39447b286844d315d415d50911a4abd | |
parent | ab4b20149713ad27087be59e5b92c353c8ccd9f0 [diff] |
Use unsigned int for bitfields uintN_t is not a standard type for a bitfield, as armcc points out.
diff --git a/include/psa/crypto_struct.h b/include/psa/crypto_struct.h index 2414ad5..6eed259 100644 --- a/include/psa/crypto_struct.h +++ b/include/psa/crypto_struct.h
@@ -186,8 +186,8 @@ #endif uint8_t offset_in_block; uint8_t block_number; - uint8_t state : 2; - uint8_t info_set : 1; + unsigned int state : 2; + unsigned int info_set : 1; } psa_hkdf_generator_t; #endif /* MBEDTLS_MD_C */