OpenCoverage

explicit_bzero.c

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/libressl/src/crypto/compat/explicit_bzero.c
Source codeSwitch to Preprocessed file
LineSourceCount
1/* $OpenBSD: explicit_bzero.c,v 1.4 2015/08/31 02:53:57 guenther Exp $ */-
2/*-
3 * Public domain.-
4 * Written by Matthew Dempsky.-
5 */-
6-
7#include <string.h>-
8-
9__attribute__((weak)) void-
10__explicit_bzero_hook(void *buf, size_t len)-
11{-
12}-
13-
14void-
15explicit_bzero(void *buf, size_t len)-
16{-
17 memset(buf, 0, len);-
18 __explicit_bzero_hook(buf, len);-
19}
executed 489396 times by 48 tests: end of block
Executed by:
  • aeadtest
  • arc4randomforktest
  • asn1evp
  • asn1test
  • asn1time
  • base64test
  • bnaddsub
  • bntest
  • bytestringtest
  • cipher_list
  • cipherstest
  • clienttest
  • configtest
  • dhtest
  • dsatest
  • ecdhtest
  • ecdsatest
  • ectest
  • evptest
  • explicit_bzero
  • exptest
  • gost2814789t
  • hkdftest
  • hmactest
  • igetest
  • ...
489396
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.2