From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from second.openwall.net (second.openwall.net [193.110.157.125]) by inbox.vuxu.org (Postfix) with SMTP id E872F2D455 for ; Tue, 19 Mar 2024 14:50:40 +0100 (CET) Received: (qmail 3966 invoked by uid 550); 19 Mar 2024 13:46:10 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Reply-To: musl@lists.openwall.com Received: (qmail 3931 invoked from network); 19 Mar 2024 13:46:10 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=inria.fr; s=dc; h=date:from:to:cc:subject:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=9T3yhkvOlfZMPvdMU2MgsERe6W8vluTtrgNJOE1Iu4A=; b=ELN3ksp3h8SDVoZkW1dQWxmu599rvjEMtirbqmHtCRxarLtDPsdw+kR3 +86y8UzyE6UbX4TSGlPrlcWS0VNN1UegZ8IhaY0R8QFaZauH34nT5blk4 gbI6vao5Xz2HORW2+9Yp3zwa3PmSOjUoYm58GXgGGAZyGvOU2QUOG1oSM 8=; Authentication-Results: mail2-relais-roc.national.inria.fr; dkim=none (message not signed) header.i=none; spf=SoftFail smtp.mailfrom=jens.gustedt@inria.fr; dmarc=fail (p=none dis=none) d=inria.fr X-IronPort-AV: E=Sophos;i="6.07,137,1708383600"; d="scan'208";a="157414975" Date: Tue, 19 Mar 2024 14:50:26 +0100 From: =?UTF-8?B?SuKCkeKCmeKCmw==?= Gustedt To: Aaron Peter Bachmann Cc: musl@lists.openwall.com Message-ID: <20240319145026.34c1a068@inria.fr> In-Reply-To: <1ad1a194-f2f5-4ae1-9686-67961086e605@inode.at> References: <1ad1a194-f2f5-4ae1-9686-67961086e605@inode.at> Organization: inria.fr X-Mailer: Claws Mail 4.0.0 (GTK+ 3.24.33; x86_64-pc-linux-gnu) X-Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAAXNSR0IArs4c6QAAACRQTFRFERslNjAsLTE9Ok9wUk9TaUs8iWhSrYZkj42Rz6aD3sGZ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [musl] c23 memset_explicit() Aaron, on Tue, 19 Mar 2024 12:18:20 +0100 you (Aaron Peter Bachmann ) 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=E2=82=91=E2=82=99=E2=82=9B --=20 :: ICube :::::::::::::::::::::::::::::: deputy director :: :: Universit=C3=A9 de Strasbourg :::::::::::::::::::::: ICPS :: :: INRIA Nancy Grand Est :::::::::::::::::::::::: Camus :: :: :::::::::::::::::::::::::::::::::::: =E2=98=8E +33 368854536 :: :: https://icube-icps.unistra.fr/index.php/Jens_Gustedt ::