From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by sourceware.org (Postfix) with ESMTPS id F15BA385E449 for ; Wed, 30 Mar 2022 19:38:26 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org F15BA385E449 Received: by mail-wm1-f45.google.com with SMTP id c190-20020a1c35c7000000b0038e37907b5bso538071wma.0 for ; Wed, 30 Mar 2022 12:38:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6NfJr+OpHfxZLNN2VAI6spFkdkk34z11tlIB6hPRXK4=; b=OBIrz7dG5BwCP26OAOQHPeNQZAbd9A6gBCnDQgzzENC3bsCL7goaON16HHDZLjE6MB E7xljZCveXWKYnl2DiYNWVPZQwWq57NqoiVfDv2gH+EJstXDDKObxy7BU8guliiC3WCL /hEQ2Q7wPjQsaQ0r6qcYH2rJG6rqtpIFazLk8j1GtGlciFLa8s5882uhKRiuRhM4fMZM 2r8l1iO/wOTWukgNiiJdVAy3dg39eZl+Fi9ccjQLWdk0C9jS4DQVRZo/kS2JOFxUMrxr 1mYqIpCzDWYF4uPPQecztu22yQsgA9HBparC6Bq+uLE56FpSywn5MUYG8kEbX3BA6I8j q+pA== X-Gm-Message-State: AOAM533EjeAig4ZHCkY6cIzAD4QbE5fs1Be5dtWSF+bu85b49VM1mug8 JB+n2BYcQaDz+QlfhNwFFSQWsaKOXet6gKEiJCT3jkIR2jY= X-Google-Smtp-Source: ABdhPJwRRyLlJOGjqMZGWATY1q7gtOl4uw/hHzG83ZUT6x6Uk5ANNlkobn78G2i1kNq/Z1QHuSV7Rki0C7ijExxHj1I= X-Received: by 2002:a1c:6a02:0:b0:38b:3661:47f1 with SMTP id f2-20020a1c6a02000000b0038b366147f1mr1064104wmc.5.1648669105876; Wed, 30 Mar 2022 12:38:25 -0700 (PDT) MIME-Version: 1.0 References: <20220328220936.2724834-1-goldstein.w.n@gmail.com> <7b48ece6-392a-0850-c136-01ab751273ef@linaro.org> <72332228-093c-5186-789f-8616cfb93793@linaro.org> In-Reply-To: From: =?UTF-8?Q?Cristian_Rodr=C3=ADguez?= Date: Wed, 30 Mar 2022 16:38:14 -0300 Message-ID: Subject: Re: [PATCH v1 1/2] random-bits: Factor out entropy generating function To: Noah Goldstein Cc: Adhemerval Zanella , GNU C Library , Jason@zx2c4.com, Florian Weimer Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Mar 2022 19:38:28 -0000 On Wed, Mar 30, 2022 at 1:30 PM Noah Goldstein via Libc-alpha wrote: > Thanks, I can add patches for sparc/powerpc64le/ia64. Still feel that > since it takes testing and there are optimization cases that we mayf > want to make it's still best to have a seperate file. What is really needed is to get some sort of randomness function exposed through the VDSO, so there is no syscall overhead and all this magic can be dropped. I'm not even sure if that is possible. that or a reliable prng usable even by the dynamic linker.