summaryrefslogtreecommitdiff
path: root/src/string/explicit_bzero.c
AgeCommit message (Collapse)AuthorLines
2018-07-02optimize explicit_bzero for sizeAlexander Monakov-1/+1
Avoid saving/restoring the incoming argument by reusing memset return value.
2018-06-26add explicit_bzero implementationDavid Carlier-0/+8
maintainer's note: past sentiment was that, despite being imperfect and unable to force clearing of all possible copies of sensitive data (e.g. in registers, register spills, signal contexts left on the stack, etc.) this function would be added if major implementations agreed on it, which has happened -- several BSDs and glibc all include it.