]>
iEval git - authen-passphrase-scrypt.git/blob - scrypt-1.2.1/libcperciva/util/insecure_memzero.c
4 #include "insecure_memzero.h"
6 /* Function which does the zeroing. */
8 insecure_memzero_func(volatile void * buf
, size_t len
)
10 volatile uint8_t * _buf
= buf
;
13 for (i
= 0; i
< len
; i
++)
17 /* Pointer to memory-zeroing function. */
18 void (* volatile insecure_memzero_ptr
)(volatile void *, size_t) =
19 insecure_memzero_func
;
This page took 0.040825 seconds and 4 git commands to generate.