forked from wolfSSL/wolfssl
wolfssl/wolfcrypt/sp_int.h: wc_static_assert(), not static_assert().
This commit is contained in:
@@ -930,7 +930,7 @@ typedef struct sp_int_minimal {
|
|||||||
sp_int_digit dp[1];
|
sp_int_digit dp[1];
|
||||||
} sp_int_minimal;
|
} sp_int_minimal;
|
||||||
|
|
||||||
static_assert(sizeof(struct sp_int_minimal) % sizeof(sp_int_digit) == 0);
|
wc_static_assert(sizeof(struct sp_int_minimal) % sizeof(sp_int_digit) == 0);
|
||||||
#define MP_INT_SIZEOF_DIGITS(cnt) (MP_INT_SIZEOF(cnt) / sizeof(sp_int_digit))
|
#define MP_INT_SIZEOF_DIGITS(cnt) (MP_INT_SIZEOF(cnt) / sizeof(sp_int_digit))
|
||||||
|
|
||||||
/* Multi-precision integer type is SP integer type. */
|
/* Multi-precision integer type is SP integer type. */
|
||||||
|
Reference in New Issue
Block a user