summaryrefslogtreecommitdiff
path: root/memxor.h
diff options
context:
space:
mode:
Diffstat (limited to 'memxor.h')
-rw-r--r--memxor.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/memxor.h b/memxor.h
index 5b43a99f..c9e563d4 100644
--- a/memxor.h
+++ b/memxor.h
@@ -8,7 +8,15 @@
#include <stdlib.h>
#include "nettle-types.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
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);
+#ifdef __cplusplus
+}
+#endif
+
#endif /* NETTLE_MEMXOR_H_INCLUDED */