[tor-bugs] #7419 [Tor]: Choose a faster memwipe implementation

Tor Bug Tracker & Wiki blackhole at torproject.org
Sun Jan 3 11:01:34 UTC 2016


#7419: Choose a faster memwipe implementation
------------------------------------+------------------------------------
 Reporter:  nickm                   |          Owner:
     Type:  enhancement             |         Status:  needs_revision
 Priority:  Medium                  |      Milestone:  Tor: 0.2.8.x-final
Component:  Tor                     |        Version:
 Severity:  Normal                  |     Resolution:
 Keywords:  tor-relay, nickm-patch  |  Actual Points:
Parent ID:                          |         Points:
  Sponsor:                          |
------------------------------------+------------------------------------

Comment (by teor):

 Replying to [comment:22 teor]:
 > Win32 also apparently has memset_s.

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

 As long as we build 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.)"

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7419#comment:25>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list