Added array size macro

This commit is contained in:
Alexandre Paillier
2022-03-29 18:29:36 +02:00
parent 54fe26a301
commit 2584490afa

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;