summaryrefslogtreecommitdiff
path: root/memxor.h
blob: b7bef09eecc8792116c6dd97b358831d5ca7f309 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/* memxor.h
 *
 */

#ifndef NETTLE_MEMXOR_H_INCLUDED
#define NETTLE_MEMXOR_H_INCLUDED

#include <stdlib.h>

#ifdef __cplusplus
extern "C" {
#endif

/* Name mangling */
#define memxor nettle_memxor
#define memxor3 nettle_memxor3

void *memxor(void *dst, const void *src, size_t n);
void *memxor3(void *dst, const void *a, const void *b, size_t n);

#ifdef __cplusplus
}
#endif

#endif /* NETTLE_MEMXOR_H_INCLUDED */