LCOV - code coverage report
Current view: top level - third_party/heimdal/lib/hcrypto/libtommath - bn_mp_exch.c (source / functions) Hit Total Coverage
Test: coverage report for fix-15632 9995c5c2 Lines: 6 6 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_EXCH_C
       3             : /* LibTomMath, multiple-precision integer library -- Tom St Denis */
       4             : /* SPDX-License-Identifier: Unlicense */
       5             : 
       6             : /* swap the elements of two integers, for cases where you can't simply swap the
       7             :  * mp_int pointers around
       8             :  */
       9        4325 : void mp_exch(mp_int *a, mp_int *b)
      10             : {
      11         202 :    mp_int  t;
      12             : 
      13        4325 :    t  = *a;
      14        4325 :    *a = *b;
      15        4325 :    *b = t;
      16        4325 : }
      17             : #endif

Generated by: LCOV version 1.14