summaryrefslogtreecommitdiff
path: root/memxor.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-04-24 22:43:40 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-04-24 22:43:40 +0200
commit759bbb3e2736d5f0c87b08804d5025711fa2b2af (patch)
tree8d3e4ca7cedb9da7b33dd4bc006e8cd6e0eae0ca /memxor.h
parent6223175feb761f770109475f6f2880edea601529 (diff)
downloadnettle-759bbb3e2736d5f0c87b08804d5025711fa2b2af.tar.gz
Added nettle_ prefix to memxor symbols.
Diffstat (limited to 'memxor.h')
-rw-r--r--memxor.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/memxor.h b/memxor.h
index c9e563d4..2a6545ce 100644
--- a/memxor.h
+++ b/memxor.h
@@ -12,6 +12,10 @@
extern "C" {
#endif
+/* Name mangling */
+#define memxor nettle_memxor
+#define memxor3 nettle_memxor3
+
uint8_t *memxor(uint8_t *dst, const uint8_t *src, size_t n);
uint8_t *memxor3(uint8_t *dst, const uint8_t *a, const uint8_t *b, size_t n);