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 70ed9daf Lines: 5 5 100.0 %
Date: 2024-01-11 09:59:51 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      117881 : void mp_zero(mp_int *a)
       8             : {
       9      117881 :    a->sign = MP_ZPOS;
      10      117881 :    a->used = 0;
      11    16944024 :    MP_ZERO_DIGITS(a->dp, a->alloc);
      12      117881 : }
      13             : #endif

Generated by: LCOV version 1.14