summaryrefslogtreecommitdiff
path: root/nacl/curvecp/byte_zero.c
blob: bdc1f7990d2c2f8f61e9087b78387c2882f647ea (plain)
1
2
3
4
5
6
7
#include "byte.h"

void byte_zero(void *yv,long long ylen)
{
  char *y = yv;
  while (ylen > 0) { *y++ = 0; --ylen; }
}