Joost Rijneveld
hace 7 años
No se encontró ninguna clave conocida en la base de datos para esta firma
ID de clave GPG: 307BC77F47D58EE2
Se han
modificado 2 ficheros con
0 adiciones y
20 borrados
-
zerobytes.c
-
zerobytes.h
|
|
@@ -1,14 +0,0 @@ |
|
|
|
/* |
|
|
|
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; |
|
|
|
} |
|
|
@@ -1,6 +0,0 @@ |
|
|
|
#ifndef ZEROBYTES_H |
|
|
|
#define ZEROBYTES_H |
|
|
|
|
|
|
|
unsigned char *zerobytes(unsigned char *r,unsigned long long n); |
|
|
|
|
|
|
|
#endif |