tinycrypt: use fast integer types

Signed-off-by: Kevin Bracey <[email protected]>
This commit is contained in:
Kevin Bracey
2020-10-07 14:13:41 +03:00
parent 2544cd3582
commit f40c79272f
+3 -3
View File
@@ -98,10 +98,10 @@ extern "C" {
#endif
/* defining data types to store word and bit counts: */
typedef int8_t wordcount_t;
typedef int16_t bitcount_t;
typedef int_fast8_t wordcount_t;
typedef int_fast16_t bitcount_t;
/* defining data type for comparison result: */
typedef int8_t cmpresult_t;
typedef int_fast8_t cmpresult_t;
/* defining data type to store ECC coordinate/point in 32bits words: */
typedef unsigned int uECC_word_t;
/* defining data type to store an ECC coordinate/point in 64bits words: */