Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp1565205pxf; Fri, 9 Apr 2021 11:30:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwyzCb32mNbZKzhevSQwLzypcZNLsCckZM0NnDC5PZrYoEDuXqfMFzD30A6oGUtYNXcgt9N X-Received: by 2002:a17:90a:650c:: with SMTP id i12mr15648825pjj.204.1617993031033; Fri, 09 Apr 2021 11:30:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617993031; cv=none; d=google.com; s=arc-20160816; b=RnEvWtSFwgV9w5dUbBAlS8+ujy9uWjenaQi35WdvNAxJDzFsSwUXscJyNtAxVV0Pyy aHEaElDBDNhZlmbeI7hlBDqPkyPpW6vvwN72BaLMeCAJgtncMM9pX6Vu2A6c0hqtHBqm oOTZDnPYrvKHWd4q4Dy1B40l/TaBfx3N9jwuU47FiNbQsCo+BxY0TfHPKoEwxv96PP7w Zmn4lVRXhb4Xt/1KXSVxYTaPOztNrpF3KWNtVRuxPsWkjr0ByLF9b+S/0Y34K7rWpdJm uX6YKTHoe10A7VB8IDiXxGBAxqW09EUdzdTrcxwTKJxzMKOQ4zktQIsUxUrFDJ4dSCAm cJEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=+0ncOBO/c3z/itUcQbIukquu48IT8Tw/ndnvlNHEQCg=; b=jWmiY6NJsH93kWkzLDWEocs3529bcA261gbLsiQOJaK2LqAPb+MfwgPwqWGpFU7+7w Iipf+55MioC0HEET1nZAah/734/CozypjdT9Z/pJRlORAka2/f7pVVMTHvFbNHTL5w8b 0IX2vJY+fSBSaiIN9WO+v/4w4GSir1IDRjFImGepi07gdAEVDT6oUbdPRvUa/IW0pSit SWeRBqQchjukinOAq1pF28aJX9BgMNL33tt8qQ+EjmaWFsJDm6zYVQNxtd+YF7lRQfn0 aW4+B8L8TVAYF9W8JU4R8T9994rxUTbGQK92EtVRyqWme4DIh5j+egY+QDnjT2h4Ps1T AQeg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b="aP9fj+/h"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z7si4839943pfz.153.2021.04.09.11.30.08; Fri, 09 Apr 2021 11:30:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b="aP9fj+/h"; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234375AbhDISaM (ORCPT + 99 others); Fri, 9 Apr 2021 14:30:12 -0400 Received: from mail.zx2c4.com ([104.131.123.232]:46354 "EHLO mail.zx2c4.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234049AbhDISaM (ORCPT ); Fri, 9 Apr 2021 14:30:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1617992995; 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=+0ncOBO/c3z/itUcQbIukquu48IT8Tw/ndnvlNHEQCg=; b=aP9fj+/h2K5ZpZ8OnsJeRAafDSYLpCLm3/GejqKWJEvB9yCha76Bm+SU8WVOVUIHX7eWL6 9uaRTNU0mUiuC83skiTjml3Avf5UbTbfjzwNjbu/7ee7IyNFAHtyTrytITKM8q4PePgJtC zQT6iGGSInvTiN5O79453bXnNgFQldQ= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id dd1322ec (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Fri, 9 Apr 2021 18:29:54 +0000 (UTC) Received: by mail-yb1-f172.google.com with SMTP id l14so1359280ybf.11; Fri, 09 Apr 2021 11:29:54 -0700 (PDT) X-Gm-Message-State: AOAM53346EVS2Xg+ZJpOONO2fty80ud005TedT2zuZBvvdmRcbeYDxoZ gsh8rUXIB/0RVoVfQl71NwlioEItHtDFgSK2x6o= X-Received: by 2002:a25:ad0f:: with SMTP id y15mr17625771ybi.306.1617992994050; Fri, 09 Apr 2021 11:29:54 -0700 (PDT) MIME-Version: 1.0 References: <20210407113920.3735505-1-liuhangbin@gmail.com> <20210408010640.GH2900@Leo-laptop-t470s> <20210408115808.GJ2900@Leo-laptop-t470s> <20210409021121.GK2900@Leo-laptop-t470s> <7c2b6eff291b2d326e96c3a5f9cd70aa4ef92df3.camel@chronox.de> <20210409080804.GO2900@Leo-laptop-t470s> In-Reply-To: <20210409080804.GO2900@Leo-laptop-t470s> From: "Jason A. Donenfeld" Date: Fri, 9 Apr 2021 12:29:42 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH net-next] [RESEND] wireguard: disable in FIPS mode To: Hangbin Liu Cc: Eric Biggers , Netdev , =?UTF-8?B?VG9rZSBIw7hpbGFuZC1Kw7hyZ2Vuc2Vu?= , Jakub Kicinski , Herbert Xu , Ondrej Mosnacek , Linux Crypto Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Apr 9, 2021 at 2:08 AM Hangbin Liu wrote: > After offline discussion with Herbert, here is > what he said: > > """ > This is not a problem in RHEL8 because the Crypto API RNG replaces /dev/random > in FIPS mode. > """ So far as I can see, this isn't the case in the kernel sources I'm reading? Maybe you're doing some userspace hack with CUSE? But at least get_random_bytes doesn't behave this way...