serval-dna/nacl/nacl-20110221/curvecp/byte_zero.c

8 lines
120 B
C
Raw Normal View History

#include "byte.h"
void byte_zero(void *yv,long long ylen)
{
char *y = yv;
while (ylen > 0) { *y++ = 0; --ylen; }
}