[llvm-bugs] [Bug 36913] New: Clang and LLVM should provide a documented & supported way to scrub registers and memory buffers
via llvm-bugs
llvm-bugs at lists.llvm.org
Mon Mar 26 15:15:00 PDT 2018
https://bugs.llvm.org/show_bug.cgi?id=36913
Bug ID: 36913
Summary: Clang and LLVM should provide a documented & supported
way to scrub registers and memory buffers
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: chandlerc at gmail.com
CC: echristo at gmail.com, jdennett at google.com,
llvm-bugs at lists.llvm.org
Here, "scrub" means specifically in the context of protecting secrets such as
cryptographic private key data.
Currently, libraries that wish to reliably remove private key data from
registers or memory buffers have no well documented and reliable approach
because these operations are fundamentally "dead" and could be removed by the
optimizer. We need to come up with the programmer APIs that we think are
reasonable to use in crypto code and reasonable to implement. Then we need to
implement them across each layer and document their usage.
This is just an umbrella bug to track this and point people at when they are
interested in Clang and LLVM growing this kind of functionality.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20180326/b1f593f3/attachment.html>
More information about the llvm-bugs
mailing list