summaryrefslogtreecommitdiff
path: root/networking/tls_aesgcm.c
diff options
context:
space:
mode:
Diffstat (limited to 'networking/tls_aesgcm.c')
-rw-r--r--networking/tls_aesgcm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/networking/tls_aesgcm.c b/networking/tls_aesgcm.c
index b9a6a9b..db720e5 100644
--- a/networking/tls_aesgcm.c
+++ b/networking/tls_aesgcm.c
@@ -11,15 +11,6 @@ typedef uint32_t word32;
#define XMEMSET memset
#define XMEMCPY memcpy
-void FAST_FUNC xorbuf(void* buf, const void* mask, unsigned count)
-{
- word32 i;
- byte* b = (byte*)buf;
- const byte* m = (const byte*)mask;
- for (i = 0; i < count; i++)
- b[i] ^= m[i];
-}
-
/* from wolfssl-3.15.3/wolfcrypt/src/aes.c */
static ALWAYS_INLINE void FlattenSzInBits(byte* buf, word32 sz)