MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / cbm_secure_zero

Function cbm_secure_zero

src/foundation/secure_random.c:5–11  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3#include <stdint.h>
4
5void cbm_secure_zero(void *buffer, size_t length) {
6 volatile uint8_t *cursor = buffer;
7 while (cursor && length > 0) {
8 *cursor++ = 0;
9 length--;
10 }
11}
12
13#ifdef _WIN32
14#ifndef WIN32_LEAN_AND_MEAN

Calls

no outgoing calls

Tested by

no test coverage detected