From patchwork Sat May 23 00:08:28 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dan Streetman X-Patchwork-Id: 6469881 X-Patchwork-Delegate: herbert@gondor.apana.org.au Return-Path: X-Original-To: patchwork-linux-crypto@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 2BA139F444 for ; Sat, 23 May 2015 00:08:48 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 429E82053F for ; Sat, 23 May 2015 00:08:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 22C3D2053A for ; Sat, 23 May 2015 00:08:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757485AbbEWAIp (ORCPT ); Fri, 22 May 2015 20:08:45 -0400 Received: from mail-ig0-f178.google.com ([209.85.213.178]:33538 "EHLO mail-ig0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757423AbbEWAIo (ORCPT ); Fri, 22 May 2015 20:08:44 -0400 Received: by igbpi8 with SMTP id pi8so3349332igb.0; Fri, 22 May 2015 17:08:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id; bh=0biYSxNJDyoAgf5mZNjxlzC7e4cta6DW65gq9KNc8N4=; b=IY4O6cT8c8K04VLf6qycRXrYuacU4uThIGOqmP+FQR7tqYl23AZMqsYts3p/pp02Cx xyL9I34RczL+1Y6eNFSdn9MwzXA+aEveDX0Ue7ErRqfZrSDrmCyp50oCre+dl5HP6FdY WpL6jJUw1C/yd2vs3E4t27yCXGRSf5vWfN6xM4we2JN/JA74NP/mpMGLoe/H5ajFpONP 07NNgylqOuvPstucnohlL2P8S4bXWN+e1R8pRGv0A6ozoNgjyCXycu+UDQEuuwhhYV9p QkeabMQAgU/AnHmqXvSaqO+SRoeD50XNNmxits7QrA86Z00E7NTzqu5u3/yL5eaPz6/Z MxZA== X-Received: by 10.42.120.66 with SMTP id e2mr2216423icr.37.1432339723674; Fri, 22 May 2015 17:08:43 -0700 (PDT) Received: from toughbook.com (user-0c8ho8q.cable.mindspring.com. [24.136.225.26]) by mx.google.com with ESMTPSA id 137sm2969686ioo.29.2015.05.22.17.08.40 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 May 2015 17:08:42 -0700 (PDT) From: Dan Streetman To: Herbert Xu , "David S. Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Dan Streetman Subject: [PATCH] crypto: move Kconfig 842 to end of list, default to N Date: Fri, 22 May 2015 20:08:28 -0400 Message-Id: <1432339708-4340-1-git-send-email-ddstreet@ieee.org> X-Mailer: git-send-email 2.1.0 Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID,T_RP_MATCHES_RCVD,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Move the 842 compression alg choice to last in the list, so it's not in the middle of LZO/LZ4/LZ4HC. Change its default to N, as it is a very slow alg, which generally should only be used with compression hardware that's capable of doing it much faster. Signed-off-by: Dan Streetman --- crypto/Kconfig | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 24df47b..62ced6f 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -1419,14 +1419,6 @@ config CRYPTO_LZO help This is the LZO algorithm. -config CRYPTO_842 - tristate "842 compression algorithm" - select CRYPTO_ALGAPI - select 842_COMPRESS - select 842_DECOMPRESS - help - This is the 842 algorithm. - config CRYPTO_LZ4 tristate "LZ4 compression algorithm" select CRYPTO_ALGAPI @@ -1443,6 +1435,15 @@ config CRYPTO_LZ4HC help This is the LZ4 high compression mode algorithm. +config CRYPTO_842 + tristate "842 compression algorithm" + default n + select CRYPTO_ALGAPI + select 842_COMPRESS + select 842_DECOMPRESS + help + This is the 842 algorithm. + comment "Random Number Generation" config CRYPTO_ANSI_CPRNG