mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-30 22:43:08 +03:00
Move the ARRAY_LENGTH definition to common.h
Reuse it in the library and tests. Signed-off-by: Andrzej Kurek <andrzej.kurek@arm.com>
This commit is contained in:
@ -1001,8 +1001,6 @@ static sha_test_sum_t sha512_test_sum[] =
|
||||
};
|
||||
#endif /* MBEDTLS_SHA512_C */
|
||||
|
||||
#define ARRAY_LENGTH(a) (sizeof(a) / sizeof((a)[0]))
|
||||
|
||||
static int mbedtls_sha512_common_self_test(int verbose, int is384)
|
||||
{
|
||||
int i, buflen, ret = 0;
|
||||
|
Reference in New Issue
Block a user