memxor(3)
limb manual
memxor(3)
NAME
memxor, memxor3 - XOR memory areas
SYNOPSIS
#include <limb/memxor.h>
void memxor(void *dst, const void *src, size_t len) void memxor3(void *dst, const void *src1, const void *src2, size_t len)
DESCRIPTION
The memxor
() function will XOR the content of memory pointed to by src
and
dst
over len
bytes, storing the result over the memory area pointed to by
dst
.
The memxor3
() is similar, but the results of XOR-ing areas pointed to by
src1
and src2
will be stored in memory pointed to by dst
.