From e2967396ac73cb7410787886cdaf072a184ffc49 Mon Sep 17 00:00:00 2001 From: irungentoo Date: Tue, 2 Jul 2013 09:53:34 -0400 Subject: Added NaCl crypto library. --- nacl/curvecp/byte_zero.c | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 nacl/curvecp/byte_zero.c (limited to 'nacl/curvecp/byte_zero.c') diff --git a/nacl/curvecp/byte_zero.c b/nacl/curvecp/byte_zero.c new file mode 100644 index 00000000..bdc1f799 --- /dev/null +++ b/nacl/curvecp/byte_zero.c @@ -0,0 +1,7 @@ +#include "byte.h" + +void byte_zero(void *yv,long long ylen) +{ + char *y = yv; + while (ylen > 0) { *y++ = 0; --ylen; } +} -- cgit v1.2.3