Coverage Report

Created: 2025-10-13 07:08

next uncovered line (L), next uncovered region (R), next uncovered branch (B)
/src/dropbear/libtommath/bn_mp_zero.c
Line
Count
Source
1
#include "tommath_private.h"
2
#ifdef BN_MP_ZERO_C
3
/* LibTomMath, multiple-precision integer library -- Tom St Denis */
4
/* SPDX-License-Identifier: Unlicense */
5
6
/* set to zero */
7
void mp_zero(mp_int *a)
8
2.56M
{
9
2.56M
   a->sign = MP_ZPOS;
10
2.56M
   a->used = 0;
11
2.56M
   MP_ZERO_DIGITS(a->dp, a->alloc);
12
2.56M
}
13
#endif