15 Zeilen
255 B
C
15 Zeilen
255 B
C
/*
|
|
This code was taken from the SPHINCS reference implementation.
|
|
Public domain.
|
|
*/
|
|
|
|
#include "zerobytes.h"
|
|
|
|
unsigned char *zerobytes(unsigned char *r,unsigned long long n)
|
|
{
|
|
volatile unsigned char *p=r;
|
|
while (n--)
|
|
*(p++) = 0;
|
|
return r;
|
|
}
|