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 master 2f515e9b Lines: 5 5 100.0 %
Date: 2024-04-21 15:09:00 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      123454 : void mp_zero(mp_int *a)
       8             : {
       9      123454 :    a->sign = MP_ZPOS;
      10      123454 :    a->used = 0;
      11    17847871 :    MP_ZERO_DIGITS(a->dp, a->alloc);
      12      123454 : }
      13             : #endif

Generated by: LCOV version 1.14