suppress a few "unused function" warnings

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko
2019-10-25 13:05:15 +02:00
parent 1f1492bb96
commit e5897d041d
4 changed files with 6 additions and 5 deletions

View File

@@ -13,6 +13,7 @@ typedef uint32_t word32;
/* from wolfssl-3.15.3/wolfcrypt/src/aes.c */
#ifdef UNUSED
static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz)
{
/* Multiply the sz by 8 */
@@ -32,6 +33,7 @@ static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz)
// buf[7] = sz & 0xff;
*(uint32_t*)(buf + 4) = SWAP_BE32(sz);
}
#endif
static void RIGHTSHIFTX(byte* x)
{