| 3 | #include <stdint.h> |
| 4 | |
| 5 | void 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 |
no outgoing calls
no test coverage detected