Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D803DC433F5 for ; Wed, 1 Dec 2021 18:29:34 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243650AbhLAScu (ORCPT ); Wed, 1 Dec 2021 13:32:50 -0500 Received: from sin.source.kernel.org ([145.40.73.55]:56630 "EHLO sin.source.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244805AbhLAScp (ORCPT ); Wed, 1 Dec 2021 13:32:45 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id 24A9CCE206F; Wed, 1 Dec 2021 18:29:23 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F10C0C53FCC; Wed, 1 Dec 2021 18:29:20 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="PCSpO+RW" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1638383356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=hfa3NlfCdsYdxGFH80CwGI0Vu8ELsod+Z2I76aPC3tY=; b=PCSpO+RWCY1yAULHSHBN4H8UeXWCz+hhlQ4mA0jmalquWo3Eqg+G5AUGJRMC3WEgm96iuL wu6vZ+YRk2o6lDcnMCRqqghE0uv73eZJbmY5P60YH3M6AWZ5vqqKA+1hpntnuEGOTuf+/C CRCSC/hUMdK0UZg+vHaZ79JlkbFui50= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id e75226bb (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 1 Dec 2021 18:29:16 +0000 (UTC) Received: by mail-yb1-f181.google.com with SMTP id d10so66152687ybe.3; Wed, 01 Dec 2021 10:29:14 -0800 (PST) X-Gm-Message-State: AOAM533MYg13xgIp/ogNDanQFF1dek5banrKrjFlJHVmL0vPqcwj2Ftv Tc6TAImVE4kaPkbbLQjap3oiVurk9XXAE18BK8Q= X-Google-Smtp-Source: ABdhPJzm64appqzjA4aYAH5eWAoxWSsIlQMIYaA4A4gxImaaHPmVuTevg1qUdzUUZ3LSV64gI9xYizxTSbGMR8WlHKU= X-Received: by 2002:a25:1e83:: with SMTP id e125mr8854584ybe.32.1638383353056; Wed, 01 Dec 2021 10:29:13 -0800 (PST) MIME-Version: 1.0 References: <2036923.9o76ZdvQCi@positron.chronox.de> <22137816.pfsBpAd9cS@tauon.chronox.de> <9311513.S0ZZtNTvxh@tauon.chronox.de> <49d6091e571e24efff7bc4dc70c4c62628eb0782.camel@redhat.com> In-Reply-To: <49d6091e571e24efff7bc4dc70c4c62628eb0782.camel@redhat.com> From: "Jason A. Donenfeld" Date: Wed, 1 Dec 2021 13:29:01 -0500 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v43 01/15] Linux Random Number Generator To: Simo Sorce Cc: Greg Kroah-Hartman , Jeffrey Walton , Stephan Mueller , Tso Ted , Linux Crypto Mailing List , Willy Tarreau , Nicolai Stange , LKML , Arnd Bergmann , "Eric W. Biederman" , "Alexander E. Patrakov" , "Ahmed S. Darwish" , Matthew Garrett , Vito Caputo , Andreas Dilger , Jan Kara , Ray Strode , William Jon McCann , zhangjs , Andy Lutomirski , Florian Weimer , Lennart Poettering , Peter Matthias , Eric Biggers , Marcelo Henrique Cerri , Neil Horman , Randy Dunlap , Julia Lawall , Dan Carpenter , Andy Lavr , Petr Tesarik , John Haxby , Alexander Lobakin , Jirka Hladky Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Wed, Dec 1, 2021 at 12:19 PM Simo Sorce wrote: > Unfortunately userspace is not an option for kernel's own cryptography. I'm actually sort of curious to learn which specific uses of get_random_bytes you're concerned about. ECC keygen? What else?