Logo Search packages:      
Sourcecode: libtomcrypt version File versions  Download package

void zeromem ( void *  out,
size_t  outlen 

Zero a block of memory

out The destination of the area to zero
outlen The length of the area to zero (octets)

Definition at line 23 of file zeromem.c.

Referenced by burn_stack(), hash_filehandle(), hash_memory(), hash_memory_multi(), and rng_make_prng().

   unsigned char *mem = out;
   while (outlen-- > 0) {
      *mem++ = 0;

Generated by  Doxygen 1.6.0   Back to index