Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20240319145026.34c1a068@inria.fr>
Date: Tue, 19 Mar 2024 14:50:26 +0100
From: Jₑₙₛ Gustedt <jens.gustedt@...ia.fr>
To: Aaron Peter Bachmann <aaron_ng@...de.at>
Cc: musl@...ts.openwall.com
Subject: Re: c23 memset_explicit()

Aaron,

on Tue, 19 Mar 2024 12:18:20 +0100 you (Aaron Peter Bachmann
<aaron_ng@...de.at>) wrote:

> I recognized neither
> https://git.musl-libc.org/cgit/musl
> nor
> https://forge.icube.unistra.fr/icps/musl/-/branches
> seem to include c23 memset_explicit().
> Or it slipped my attention.

There had been such an implementation, but I removed it from the set
because there was no consensus how it should look like. I'd prefer
that someone else does it. If you want to read things up, there has
been a discussion on this list in May last year.

Your patch looks like the minimal thing that one would expect. For me
personally that does not seem good enough. One of the things that
bother me is that `memset` could have varying processing times, not
only depending on the length of the input (which is unavoidable), but
also depending on its contents.

Anyhow, Rich had elaborated a whole strategy how this feature would
better fallback to a builtin, if such a builtin exists. So I prefer
them doing it, whenever they are ready.

Thanks
Jₑₙₛ

-- 
:: ICube :::::::::::::::::::::::::::::: deputy director ::
:: Université de Strasbourg :::::::::::::::::::::: ICPS ::
:: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus ::
:: :::::::::::::::::::::::::::::::::::: ☎ +33 368854536 ::
:: https://icube-icps.unistra.fr/index.php/Jens_Gustedt ::

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.