diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2019-10-25 13:05:15 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2019-10-25 13:05:15 +0200 |
commit | e5897d041d704a40efc8480cb2a72ef6843d0642 (patch) | |
tree | ab580bd571a7483dfa00984420a68c8c47ecf7f6 /networking/tls_aesgcm.c | |
parent | 1f1492bb96e318a36dee940e6d4bec0ef915339f (diff) | |
download | busybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.tar.gz busybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.tar.bz2 busybox-w32-e5897d041d704a40efc8480cb2a72ef6843d0642.zip |
suppress a few "unused function" warnings
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/tls_aesgcm.c')
-rw-r--r-- | networking/tls_aesgcm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/networking/tls_aesgcm.c b/networking/tls_aesgcm.c index a4663cd79..5ddcdd2ad 100644 --- a/networking/tls_aesgcm.c +++ b/networking/tls_aesgcm.c | |||
@@ -13,6 +13,7 @@ typedef uint32_t word32; | |||
13 | 13 | ||
14 | /* from wolfssl-3.15.3/wolfcrypt/src/aes.c */ | 14 | /* from wolfssl-3.15.3/wolfcrypt/src/aes.c */ |
15 | 15 | ||
16 | #ifdef UNUSED | ||
16 | static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz) | 17 | static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz) |
17 | { | 18 | { |
18 | /* Multiply the sz by 8 */ | 19 | /* Multiply the sz by 8 */ |
@@ -32,6 +33,7 @@ static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz) | |||
32 | // buf[7] = sz & 0xff; | 33 | // buf[7] = sz & 0xff; |
33 | *(uint32_t*)(buf + 4) = SWAP_BE32(sz); | 34 | *(uint32_t*)(buf + 4) = SWAP_BE32(sz); |
34 | } | 35 | } |
36 | #endif | ||
35 | 37 | ||
36 | static void RIGHTSHIFTX(byte* x) | 38 | static void RIGHTSHIFTX(byte* x) |
37 | { | 39 | { |