1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis
3 * LibTomCrypt is a library that provides various cryptographic
4 * algorithms in a highly modular and flexible manner.
6 * The library is free for all purposes without any express
13 Zero a block of memory, Tom St Denis
17 Zero a block of memory
18 @param out The destination of the area to zero
19 @param outlen The length of the area to zero (octets)
21 void zeromem(volatile void *out, size_t outlen)
23 volatile char *mem = out;
24 LTC_ARGCHKVD(out != NULL);
25 while (outlen-- > 0) {
30 /* ref: $Format:%D$ */
31 /* git commit: $Format:%H$ */
32 /* commit time: $Format:%ai$ */