Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp2688134rdh; Mon, 30 Oct 2023 05:05:49 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEvuBSXWTylDH07pM3Rwy2Sxogt/pNpDaJj5I//mO2Vo4MDjrsTopDLF7BSgrtR7gh+n5mZ X-Received: by 2002:a05:6a21:338b:b0:159:e0b9:bd02 with SMTP id yy11-20020a056a21338b00b00159e0b9bd02mr8773793pzb.40.1698667549480; Mon, 30 Oct 2023 05:05:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698667549; cv=none; d=google.com; s=arc-20160816; b=pqnaLbsMjZyxGeNHK9X9RCG9d1bO+lkEPEFdPmL1CoKw3M3IiHqqDaeyyN4g4Z4y4n P+1l/gPMfopydhsbb+uSq/GkjLBeu8CydBxvNGU4Oefm5tyCTOayy7nOE6YmV9VyxDnM FbloRMOjQS2hdNZDmUOslMXOiQ9zpT2gepZEBIe/on+yu7v9GQ/twlVBLpXZNmOrd0F1 Wt/nOMcMqeM3r+F4LejB6Q1z+snhGrHCVnmoJcWQvxJHN4YHt2TaoTPvP0oGji128k0k 1rw6jkDW3K6vs9YUlIAywIR+D0ZjCfJHuaMGgevfXTuycPhTLvAEv7U7h70xcMrue7Ah gg2A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7WB8+dzA+A9FwbTE3H0wb8DTd4y1xgyz1TXm5BpP+xY=; fh=f7rGv/lZUKYPSVW4vmZTSpKGS2MqhLr4JDXhUskr9eQ=; b=c6dJeUaP8bVPB/tRWNjM47JVyNqMdlmqd0NbmOHvC33NxXy7X+wC2Jda0AxZxEJ5qy +uxZaSYiETTHBS5wx5MPOI0Eya5pnGYnyDpKt5vBBb/3aG1/iidSCxttAnorepagoY5I 7p9gpVkDYbwa1N2ZkEgu2/Kk2V2fytqEkPtDwPai9WBvvpCWmAkE5MqcJzBQ3GMEhr7L NVhiuc2j0Nlx+0UkX7+VQio9FojPg/s5XmxB4bDGMIZdeTiXrd4JtrZzDaO1/owswHX7 ykQSf5/yzdiV//HP67/V/jpbvXMUY8M8mJLB3oDwgTVWRnW1rhmTpC/BKXsZ1qnPPLTX hsQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=PgDzzPHk; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id b1-20020a056a000a8100b006c0fe1a6e78si1976385pfl.22.2023.10.30.05.05.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 05:05:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=PgDzzPHk; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id BC528805F48E; Mon, 30 Oct 2023 05:05:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233050AbjJ3MFp (ORCPT + 99 others); Mon, 30 Oct 2023 08:05:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34404 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233103AbjJ3MFo (ORCPT ); Mon, 30 Oct 2023 08:05:44 -0400 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A087C9 for ; Mon, 30 Oct 2023 05:05:41 -0700 (PDT) Received: from mail-lf1-f71.google.com (mail-lf1-f71.google.com [209.85.167.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id 9F5673F213 for ; Mon, 30 Oct 2023 12:05:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1698667538; bh=7WB8+dzA+A9FwbTE3H0wb8DTd4y1xgyz1TXm5BpP+xY=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=PgDzzPHkaQaSIiTHAgPzsxlMhhOh1xplxctwqUpQoEnqyWl5wJQHlpdvJRxLScfNp MRBD28uuxJUv6gx+vK4HYq2meexeZIFH+OUhAMkynnyf0eCLtsUyoqSmU3Caa7hSZj /0p9Hl5vfheWkcWw5klP6X5R9yx+roCYGhtc74DNrL6QTI5o1FR/nHIhebZ8RjbscH LhAT6haczj8/UBo7ceSB8SCiEEuZL2AL7jc8EWGkmy8gmmbmDqgZykAfh0NV1S6AuW UuyBhwYlaD3HWO3qbqDGx1j4heHYxtA9ok0950n7eNwXHhnH+d0/iRSf77MiCXaGQh bQI2q5E141Tpw== Received: by mail-lf1-f71.google.com with SMTP id 2adb3069b0e04-5079f6c127cso4922364e87.3 for ; Mon, 30 Oct 2023 05:05:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698667538; x=1699272338; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7WB8+dzA+A9FwbTE3H0wb8DTd4y1xgyz1TXm5BpP+xY=; b=p79dg02bsfRVPiu0C5zpJSieNPtQuu7EMKFS3TP2QgHH35t0ambwtztS1crCHd9rzz LPNdKjU8E/8825svklx3AzT7SdSM/VNx+YX3db9AZRy1yFkg52ZCVFQfPirm6S9p3duf ovNwucwGFqHHFW2xzy//4ft4pZNsSa0un/HxafY54ICTq+wBNssCfiQN5aAbe+HzrWV/ S/bgd//Te727SjwuoUZtYsQ6rSlrZUoWyK9hgOgVhMGfGtP+mrm0L4DtVWvQI7wfS0p3 /jswy1WouYma/hfr2DhDHAsxwhdJbIqSK2IoSJBNM9qG5bdeovnnpzoXPTKAmgkvekm0 7WkQ== X-Gm-Message-State: AOJu0YyfXKBzeM3OYRjUdaFtfZCZatbSUqwCsR6w1B1gE7vuFllFQ0Sn 1TYyrSktruOCLXBUN01RLLCsqFnjTkitwJh8hhe2vG2MiM7J9MirVKzxyuc016K/o+HF7EgONlZ 8ind1L0SRL3epGpg5KOH6B5zhehItfDqJg3sK8tkAEw== X-Received: by 2002:ac2:44c4:0:b0:509:dd0:9414 with SMTP id d4-20020ac244c4000000b005090dd09414mr3826080lfm.24.1698667538079; Mon, 30 Oct 2023 05:05:38 -0700 (PDT) X-Received: by 2002:ac2:44c4:0:b0:509:dd0:9414 with SMTP id d4-20020ac244c4000000b005090dd09414mr3826063lfm.24.1698667537725; Mon, 30 Oct 2023 05:05:37 -0700 (PDT) Received: from localhost ([159.148.223.140]) by smtp.gmail.com with ESMTPSA id f18-20020ac25332000000b00507f0d2b32bsm1420458lfh.249.2023.10.30.05.05.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Oct 2023 05:05:37 -0700 (PDT) From: Dimitri John Ledkov To: Herbert Xu , "David S. Miller" Cc: smueller@chronox.de, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/4] drbg small fixes Date: Mon, 30 Oct 2023 14:05:12 +0200 Message-Id: <20231030120517.39424-1-dimitri.ledkov@canonical.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20231029204823.663930-1-dimitri.ledkov@canonical.com> References: <20231029204823.663930-1-dimitri.ledkov@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Mon, 30 Oct 2023 05:05:45 -0700 (PDT) This is v2 update of the https://lore.kernel.org/linux-crypto/5821221.9qqs2JS0CK@tauon.chronox.de/T/#u patch series. Added Review-by Stephan, and changed patch descriptions to drop Fixes: metadata and explicitely mention that backporting this patches to stable series will not bring any benefits per se (as they patch dead code, fips_enabled only code, that doesn't affect certification). Dimitri John Ledkov (4): crypto: drbg - ensure most preferred type is FIPS health checked crypto: drbg - update FIPS CTR self-checks to aes256 crypto: drbg - ensure drbg hmac sha512 is used in FIPS selftests crypto: drbg - Remove SHA1 from drbg crypto/drbg.c | 40 +++++++++++++--------------------------- crypto/testmgr.c | 25 ++++--------------------- 2 files changed, 17 insertions(+), 48 deletions(-) -- 2.34.1