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

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Nov 16 14:42:10 UTC 2012


#7419: Choose a faster memwipe implementation
-------------------------+--------------------------------------------------
 Reporter:  nickm        |          Owner:                  
     Type:  enhancement  |         Status:  new             
 Priority:  normal       |      Milestone:  Tor: unspecified
Component:  Tor          |        Version:                  
 Keywords:  tor-relay    |         Parent:                  
   Points:               |   Actualpoints:                  
-------------------------+--------------------------------------------------

Comment(by nickm):

 Also see http://www.dwheeler.com/secure-programs/Secure-Programs-HOWTO
 /protect-secrets.html :
 {{{
  void *guaranteed_memset(void *v,int c,size_t n)
   { volatile char *p=v; while (n--) *p++=c; return v; }
 }}}
 (Totally untested on modern compilers; the advice at the end of that page
 makes me think that the document could be a bit dated.)

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


More information about the tor-bugs mailing list