]>
Dogcows Code - chaz/p5-File-KDBX-XS/blob - zeromem.c
7d149948357cb8ce6102fc256505538c8d8c61f0
1 /* LibTomCrypt, modular cryptographic library -- Tom St Denis */
2 /* SPDX-License-Identifier: Unlicense */
3 #include "tomcrypt_private.h"
7 Zero a block of memory, Tom St Denis
11 Zero a block of memory
12 @param out The destination of the area to zero
13 @param outlen The length of the area to zero (octets)
15 void zeromem(volatile void *out
, size_t outlen
)
17 volatile char *mem
= out
;
18 LTC_ARGCHKVD(out
!= NULL
);
19 while (outlen
-- > 0) {
This page took 0.032724 seconds and 3 git commands to generate.