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 fix-15632 9995c5c2 Lines: 5 5 100.0 %
Date: 2024-04-13 12:30:31 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      118439 : void mp_zero(mp_int *a)
       8             : {
       9      118439 :    a->sign = MP_ZPOS;
      10      118439 :    a->used = 0;
      11    16998792 :    MP_ZERO_DIGITS(a->dp, a->alloc);
      12      118439 : }
      13             : #endif

Generated by: LCOV version 1.14