15 linhas
250 B
C
15 linhas
250 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;
|
|
}
|