From: Marcelo Cerri Subject: [PATCH 1/3] crypto: testmgr - Add missing tests for internal sha1-mb implementation Date: Wed, 26 Oct 2016 15:04:43 -0200 Message-ID: <1477501485-18371-2-git-send-email-marcelo.cerri@canonical.com> References: <1477501485-18371-1-git-send-email-marcelo.cerri@canonical.com> Cc: "David S. Miller" , linux-kernel@vger.kernel.org, Stephan Mueller , Marcelo Cerri To: Herbert Xu , linux-crypto@vger.kernel.org Return-path: Received: from mail-vk0-f45.google.com ([209.85.213.45]:34086 "EHLO mail-vk0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755693AbcJZRFV (ORCPT ); Wed, 26 Oct 2016 13:05:21 -0400 Received: by mail-vk0-f45.google.com with SMTP id p81so7308289vkd.1 for ; Wed, 26 Oct 2016 10:05:21 -0700 (PDT) In-Reply-To: <1477501485-18371-1-git-send-email-marcelo.cerri@canonical.com> Sender: linux-crypto-owner@vger.kernel.org List-ID: Add null tests for the internal algorithm to avoid errors when running in FIPS mode. Signed-off-by: Marcelo Cerri --- crypto/testmgr.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/crypto/testmgr.c b/crypto/testmgr.c index ded50b6..d999373 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2305,6 +2305,10 @@ static const struct alg_test_desc alg_test_descs[] = { .test = alg_test_null, .fips_allowed = 1, }, { + .alg = "__intel_sha1-mb", + .test = alg_test_null, + .fips_allowed = 1, + }, { .alg = "ansi_cprng", .test = alg_test_cprng, .suite = { @@ -3750,6 +3754,10 @@ static const struct alg_test_desc alg_test_descs[] = { } } }, { + .alg = "mcryptd(__intel_sha1-mb)", + .test = alg_test_null, + .fips_allowed = 1, + }, { .alg = "md4", .test = alg_test_hash, .suite = { -- 2.7.4