Added array size macro

This commit is contained in:
Alexandre Paillier
2022-08-05 17:52:29 +02:00
parent 54fe26a301
commit 2584490afa
+2
View File
@@ -59,6 +59,8 @@ typedef enum
#define KECCAK256_HASH_LENGTH 32
#define ARRAY_SIZE(a) (sizeof(a) / sizeof(a[0]))
typedef struct
{
uint16_t length;