[Cryptography] defending against common errors (was: secure erasure)

Mansour Moufid mansourmoufid at gmail.com
Tue Sep 20 21:29:44 EDT 2016


On Tue, Sep 20, 2016 at 2:21 AM, John Denker <jsd at av8n.com> wrote:


> On 09/11/2016 07:18 PM, Tony Arcieri wrote:
>
>> I pointed out a compiler intrinsic, memset_s(), that solves
>> this problem,
>
> Does it really?
>
> It sounds nice in theory, but:
>  -- Recent versions of gcc don't implement it.
>  -- Recent versions of clang don't implement it.
>  -- C++ inherits it from C, so using C++ doesn't help.
>
> Is there a readily available compiler that actually supports
> memset_s()????

memset_s has been available on OS X with Clang since 2013.


More information about the cryptography mailing list