Coverage Report

Created: 2023-06-07 06:44

/src/dropbear/libtomcrypt/src/misc/zeromem.c
Line
Count
Source
1
/* LibTomCrypt, modular cryptographic library -- Tom St Denis
2
 *
3
 * LibTomCrypt is a library that provides various cryptographic
4
 * algorithms in a highly modular and flexible manner.
5
 *
6
 * The library is free for all purposes without any express
7
 * guarantee it works.
8
 */
9
#include "tomcrypt.h"
10
#include "dbhelpers.h"
11
12
/**
13
   @file zeromem.c
14
   Zero a block of memory, Tom St Denis
15
*/
16
17
/**
18
   Zero a block of memory
19
   @param out    The destination of the area to zero
20
   @param outlen The length of the area to zero (octets)
21
*/
22
void zeromem(volatile void *out, size_t outlen)
23
8.67k
{
24
8.67k
   m_burn((void*)out, outlen);
25
8.67k
}
26
27
/* ref:         $Format:%D$ */
28
/* git commit:  $Format:%H$ */
29
/* commit time: $Format:%ai$ */