LCOV - code coverage report
Current view: top level - externals/compact25519/src - compact_wipe.c (source / functions) Coverage Total Hit
Test: lcov.info Lines: 0.0 % 5 0
Test Date: 2026-03-12 12:01:18 Functions: 0.0 % 1 0
Legend: Lines: hit not hit | Branches: + taken - not taken # not executed Branches: 0.0 % 2 0

             Branch data     Line data    Source code
       1                 :             : #include "compact_wipe.h"
       2                 :             : #include <stdlib.h>
       3                 :             : #include <string.h>
       4                 :             : 
       5                 :           0 : void *compact_wipe(void *data, size_t length) {
       6                 :             : // simplification of: https://www.cryptologie.net/article/419/zeroing-memory-compiler-optimizations-and-memset_s/
       7                 :           0 :          volatile unsigned char *p = data;
       8         [ #  # ]:           0 :          while (length--){
       9                 :           0 :                  *p++ = 0;
      10                 :             :          }
      11                 :           0 :         return data;
      12                 :             : }
        

Generated by: LCOV version 2.0-1