From patchwork Mon Mar 20 20:28:05 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marcelo Henrique Cerri X-Patchwork-Id: 9635277 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 8359560327 for ; Mon, 20 Mar 2017 20:29:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7630326E75 for ; Mon, 20 Mar 2017 20:29:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 6600427B2F; Mon, 20 Mar 2017 20:29:07 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.4 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, RCVD_IN_DNSWL_HI, RCVD_IN_SORBS_SPAM autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id F052D2793A for ; Mon, 20 Mar 2017 20:29:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932317AbdCTU2a (ORCPT ); Mon, 20 Mar 2017 16:28:30 -0400 Received: from mail-qk0-f175.google.com ([209.85.220.175]:34547 "EHLO mail-qk0-f175.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932254AbdCTU2Y (ORCPT ); Mon, 20 Mar 2017 16:28:24 -0400 Received: by mail-qk0-f175.google.com with SMTP id p64so120275904qke.1 for ; Mon, 20 Mar 2017 13:28:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=UjwFXqlj3PDjJN/giEbn4d41eVDFh0WWt5qcqXYCZGM=; b=lcvjuKq15aXw1JLYaRl6vj31fTjuwSp1Ql0s7W2Vq8msN09fLbFv52tgTYj4qx3HKQ 4lp3SujHEyB1MQwYrvOPsVE45A2wH94i3GMaK2N1H8EhYUd7l/3r5j0lEoZO9KEcPn+4 sR+rWHpqnrfa5FT/5A4cPa5KX1g03wUjFHBAThJq6rmlKHxcIrBM7j1P21/uvnfzNaB+ sUFuLY7JYuUsirMEHXLTmScEJOx1jd919s/DgG+W94XRRdlB0iEYNpkrXT89dhkPk+dK qYp9o6jvhwGzViu9RSb+I/3Wni4tXlSy8kQDA0L3y4Fehii/B2RpMINgSB9683jLYz8K MI9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=UjwFXqlj3PDjJN/giEbn4d41eVDFh0WWt5qcqXYCZGM=; b=a7Ip3eMBJrpHZWxE/0+t0zkT5UKn77HvKtx0rXQVvSx7GruIu26Z3sIAJCVVOC+Q44 qbZMZzdMgkJxNe54OgsLpr4ZEQKj2vURwV9EosFbNLMUeuEyWKfMcYTxZXYC6AkY5jvV kaJp5Ussm8/TdnFR109getSyktpx3Waer/aqvhTg27LdFKdD97T1OQ5vVO10QgJhp843 HFRTsgaOIDCdK3PQanism8PafMLyDtpzp+yDKCxEyvI7LlF67hNrUsnQKaIKsPckdssZ BA+mdEcFdGI2tnaJrYpeCDrN78+2+bwndfHzSSPq11v2ZpknBTgAFv35DcgRllt+RxDS xyfA== X-Gm-Message-State: AFeK/H2YanDgYCpqhObVc2I64ToOnrSwxsfxhR5/lQnObK/gWyP2MPYaNNTcyEyqgZuQTEJq X-Received: by 10.55.150.1 with SMTP id y1mr10762592qkd.311.1490041700313; Mon, 20 Mar 2017 13:28:20 -0700 (PDT) Received: from localhost.localdomain ([187.56.57.96]) by smtp.gmail.com with ESMTPSA id q145sm13155350qke.39.2017.03.20.13.28.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 20 Mar 2017 13:28:19 -0700 (PDT) From: Marcelo Henrique Cerri To: linux-crypto@vger.kernel.org Cc: Herbert Xu , "David S. Miller" , linux-kernel@vger.kernel.org, Stephan Muller , Marcelo Henrique Cerri Subject: [PATCH] crypto: testmgr - mark ctr(des3_ede) as fips_allowed Date: Mon, 20 Mar 2017 17:28:05 -0300 Message-Id: <1490041685-25947-1-git-send-email-marcelo.cerri@canonical.com> X-Mailer: git-send-email 2.7.4 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 3DES is missing the fips_allowed flag for CTR mode. Signed-off-by: Marcelo Henrique Cerri Acked-by: Stephan Mueller --- crypto/testmgr.c | 1 + 1 file changed, 1 insertion(+) diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 89f1dd1f4b13..cd075c7d8ee1 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2645,6 +2645,7 @@ static const struct alg_test_desc alg_test_descs[] = { }, { .alg = "ctr(des3_ede)", .test = alg_test_skcipher, + .fips_allowed = 1, .suite = { .cipher = { .enc = __VECS(des3_ede_ctr_enc_tv_template),