LCOV - code coverage report
Current view: top level - third_party/heimdal/lib/hcrypto/libtommath - bn_mp_zero.c (source / functions) Hit Total Coverage
Test: coverage report for vadcx-master-patch-75612 fe003de8 Lines: 5 5 100.0 %
Date: 2024-02-29 22:57:05 Functions: 1 1 100.0 %

          Line data    Source code
       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      119580 : void mp_zero(mp_int *a)
       8             : {
       9      119580 :    a->sign = MP_ZPOS;
      10      119580 :    a->used = 0;
      11    17082269 :    MP_ZERO_DIGITS(a->dp, a->alloc);
      12      119580 : }
      13             : #endif

Generated by: LCOV version 1.14