Re:Writing a C library, part 1: best practices for writing C...
by tptacek on Tuesday June 28, 2011 @01:15PM
(#2706223)
What popular encryption library does this? Also: what would you do specially in your allocator? It seems wrong to me that the users of a library should be expected to know (for instance) the precise incantation required to clear cache footprints on Core2 processors; that seems like an internal library concern.
[ Parent
| on HN ]
Re:Writing a C library, part 1: best practices for writing C...
by sg2342 on Thursday June 30, 2011 @07:46AM
(#2713589)
on top of my head: libgmp (not a crypto library but used by some), libgcrypt, openssl (requires a dynamic engine to do this), libssh2, libmcrypt ...
IMHO the user of an encryption library (the developer of a crypto application) should at least be able to ensure that every bit of heap that was touched by the library is zeroed after it was freed.