Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Trac Trac
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Service Desk
    • Milestones
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
  • Wiki
    • Wiki
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • Legacy
  • TracTrac
  • Issues
  • #17986

Closed (moved)
(moved)
Open
Created Jan 03, 2016 by teor@teor

Use SecureZeroMemory in memwipe on Windows

In #7419 (moved), we use explicit_bzero/memset_s in memwipe when available.

Windows has SecureZeroMemory with the same semantics in Windows.h. ​https://msdn.microsoft.com/en-us/library/windows/desktop/aa366877.aspx

As long as we build our Windows binaries with headers that contain SecureZeroMemory, the code will work on any Windows version:

"This function is defined as the RtlSecureZeroMemory function (see WinBase.h). The implementation of RtlSecureZeroMemory is provided inline and can be used on any version of Windows (see WinNT.h.)"

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking