Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <2953ab4f1a75ef0f9831aff5f411f0b42cbd2d11.camel@posteo.net>
Date: Mon, 04 Nov 2024 20:36:33 +0000
From: John Scott <jscott@...teo.net>
To: libc-coord@...ts.openwall.com
Subject: Re: Anyone have a secure 'free' API?

Keith Packard wrote:
> I'm wondering if anyone on this list has a C library exposing something like this for applications?

Apologies if you already thought of this, but I believe the just-published C23 has memset_explicit() for applications that want to do something like this. Since mem*() functions in <string.h> are in implementation-reserved namespace, this I think this can be exposed to applications electing to use prior standards like POSIX Issue 8 (which uses C17).
For whatever it's worth C11 Annex K places similar requirements on memset_s(), but I don't see much reason for new code to use it going forward.

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.