Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp546077pxv; Thu, 24 Jun 2021 13:57:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfgaeCLvSyZ9yCtnPg9Oc4+G57mvS4MTEuI992YEzjbm6tiyrwmlslvOPjoFilRkUvmI1c X-Received: by 2002:a05:6402:26d3:: with SMTP id x19mr10181091edd.234.1624568221707; Thu, 24 Jun 2021 13:57:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624568221; cv=none; d=google.com; s=arc-20160816; b=ioigwEIVSw7q16HCzQ2IEH52mNmLqLwYG9KNwPPOuaNsUbAXolW828xKOb3ljtchxC 4KVVCMSjnT3AROJs3VlxkXffBOXGETcCLgyXZ84Y6QduQvZXzPNG4RHAJuxnCdriyq/U JFfm0Jkid9MxrQsZ8ex8INNSHIIiiP8MBOLQrUIoxikWXeOMCHmsjlIT9puw2F4YIat4 5UnaxtOdeSfVS7A2DgDtaC0esmnt5bsfb932Bp3OjLMXVR8xiRwfFYJPnRUWka8J9pXX SdZqxmh1ITOvSaNOh0X2xCydjv6A792uy1GmdA76kaLhIz7avtyZKJY8mgFEUmi+VkBc 15zg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=i/I9drIY4G6WoJ1Dm0KPQrMLUUgs0feVsDBEUSTvmMg=; b=Ih0sZ8PFx2vS9kRYwJZ36/3gMWN/CqGNXVXZvMrRjvbC0gBSTpTKh3tLNQvR7o9vAs HYbiE+eE/Onp83PInUsYA5VOjQpeRwJPMXuwd34pnvuZw47sBp4SmC4n1SKIBKPozE+C AjKes8lojBpupPo7Lz/td4BzcY78v9w9Cr9j89wzPXVwlSYHazAwIKycGrHB+5hUyG0b 6/2rZTNDLP6CR5977WQGPzryZsTXWd+Q5kqfUrYyY2E3PnJXSgfw0EG1bDH27fRPSX4O aTM8BbrmyMCwCEfQsibfk8HZPYfWYlgft2qWLISbyiER7o/2Rk79RSS39sEbipF94yh3 1hig== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Xis2p7Fn; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id eb21si3880024ejc.254.2021.06.24.13.56.24; Thu, 24 Jun 2021 13:57:01 -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=@redhat.com header.s=mimecast20190719 header.b=Xis2p7Fn; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230116AbhFXU6m (ORCPT + 99 others); Thu, 24 Jun 2021 16:58:42 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:35285 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229525AbhFXU6m (ORCPT ); Thu, 24 Jun 2021 16:58:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1624568182; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=i/I9drIY4G6WoJ1Dm0KPQrMLUUgs0feVsDBEUSTvmMg=; b=Xis2p7FnQJWsWZYavL5l3YN8EJNbHan7NnTrURrRK/9FI4eEFKHi0/CsIsFvNRW3g5aovG TUvbdcFao8fI6vkO6d3JDQIErzmcg8uVYQQEQyPIH/HSYBS0FoToQArw1RhfpsAt1a4HVg DjzzNOKWk/K7wEuBB51Ju0jiUFChLl8= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-564-JhXskFJtN6a2Uf4Gy8BKSg-1; Thu, 24 Jun 2021 16:56:20 -0400 X-MC-Unique: JhXskFJtN6a2Uf4Gy8BKSg-1 Received: by mail-ed1-f72.google.com with SMTP id dy23-20020a05640231f7b0290394996f1452so4040571edb.18 for ; Thu, 24 Jun 2021 13:56:20 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=i/I9drIY4G6WoJ1Dm0KPQrMLUUgs0feVsDBEUSTvmMg=; b=UMO7S2R5HWwdzZp9FM7vbZFu8uzk5TaGRFgEgtA9blZbRI7vRNKtGKm75F7vKdTQyl 2gOJRR8D0//JQTDPjaqDoHZytQfi0OrJq/zmv0viZ0KwOx/T7BLqmSrqs23oUww4Qitd IR4sDWnM/0xDBBgKZ/LeO/9tOMiOBe1zIBOmdlfc6zaZtOb811KbhjQotjjEsziAn9HR N1PN/Yt5k3XPkHiDbyrljAvZ+tVfIDX8HKMsn7lD9vxo1NKDMMk07oZa3h85PCkb0TNb WQzKfU3N0TJyS0AeVS4bTi+lG7zn8vzrwtgyU1vq6jYVedOCg4BQG3YMRuYNCzl0jesH Sk+Q== X-Gm-Message-State: AOAM531ciHIkQBcBcvPPb6qCEr7n7xz9tTHnZD7PAGxlnQFnUlvh5csD eXToXR7EfHxaTjldQSgcf9NJAW2C137SrGkFV7iOLLqwkV0HM1gAKTlpIUGQUpZBPTQ/iQabRZk MCtnGe7gzodyYwURkM8oTWuJDtaVBYNkL5X5iB6ND X-Received: by 2002:a17:907:75ee:: with SMTP id jz14mr7195288ejc.524.1624568179505; Thu, 24 Jun 2021 13:56:19 -0700 (PDT) X-Received: by 2002:a17:907:75ee:: with SMTP id jz14mr7195282ejc.524.1624568179347; Thu, 24 Jun 2021 13:56:19 -0700 (PDT) MIME-Version: 1.0 References: <3171520.o5pSzXOnS6@positron.chronox.de> <20210624143019.GA20222@gondor.apana.org.au> <11782290.ZbvtA0Mc7t@positron.chronox.de> In-Reply-To: From: Vlad Dronov Date: Thu, 24 Jun 2021 22:56:08 +0200 Message-ID: Subject: Re: [PATCH] crypto: DRBG - self test for HMAC(SHA-512) To: =?UTF-8?Q?Stephan_M=C3=BCller?= Cc: Herbert Xu , linux-crypto@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Hello, Stephan, Herbert, Thank you for posting this patch. I would like to confirm that it fixes the issue in the RHEL8, i.e. RHEL8 kernel boots up in the FIPS mode with your patch. Herbert, could you please consider adding this patch to your cryptodev-2.6.= git? Best regards, Vladis Dronov | Red Hat, Inc. | The Core Kernel | Senior Software Engineer On Thu, Jun 24, 2021 at 5:44 PM Stephan M=C3=BCller w= rote: > > Considering that the HMAC(SHA-512) DRBG is the default DRBG now, a self > test is to be provided. > > The test vector is obtained from a successful NIST ACVP test run. > > Signed-off-by: Stephan Mueller > --- > crypto/testmgr.c | 5 ++++- > crypto/testmgr.h | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 53 insertions(+), 1 deletion(-) > > ...