diff options
Diffstat (limited to 'nacl/curvecp/byte_copy.c')
-rw-r--r-- | nacl/curvecp/byte_copy.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nacl/curvecp/byte_copy.c b/nacl/curvecp/byte_copy.c new file mode 100644 index 00000000..55f446a4 --- /dev/null +++ b/nacl/curvecp/byte_copy.c | |||
@@ -0,0 +1,8 @@ | |||
1 | #include "byte.h" | ||
2 | |||
3 | void byte_copy(void *yv,long long ylen,const void *xv) | ||
4 | { | ||
5 | char *y = yv; | ||
6 | const char *x = xv; | ||
7 | while (ylen > 0) { *y++ = *x++; --ylen; } | ||
8 | } | ||