summaryrefslogtreecommitdiffhomepage
path: root/networking
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-07-15 20:22:25 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-07-15 20:22:25 +0200
commit2c1258c620c5847649367394439cc10d0331d211 (patch)
treea0464536ff4534783af8cc68249e80b358101d31 /networking
parent08dfafc43757c42971b4bc3709ae7a5cda7c21fb (diff)
Move get_unaligned_le32() macros to platform.h
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking')
-rw-r--r--networking/tls_aes.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/networking/tls_aes.c b/networking/tls_aes.c
index 6992f1c90..c137442e9 100644
--- a/networking/tls_aes.c
+++ b/networking/tls_aes.c
@@ -40,10 +40,6 @@
*/
#include "tls.h"
-/* TODO: grep for this and move to libbb */
-#define get_unaligned_be32(buf) ({ uint32_t v; move_from_unaligned32(v, buf); SWAP_BE32(v); })
-
-
// The lookup-tables are marked const so they can be placed in read-only storage instead of RAM
// The numbers below can be computed dynamically trading ROM for RAM -
// This can be useful in (embedded) bootloader applications, where ROM is often limited.