From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753350AbbIPXef (ORCPT ); Wed, 16 Sep 2015 19:34:35 -0400 Received: from mga02.intel.com ([134.134.136.20]:34325 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753046AbbIPXed (ORCPT ); Wed, 16 Sep 2015 19:34:33 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,542,1437462000"; d="scan'208";a="646298964" Message-ID: <1442446472.6240.1.camel@schen9-desk2.jf.intel.com> Subject: [PATCH 0/3] crypto: [sha] Restructure x86 sha trasforms glue code to expose all available transform algorithms From: Tim Chen To: Herbert Xu , "H. Peter Anvin" , "David S.Miller" , Stephan Mueller Cc: Sean Gulley , Chandramouli Narayanan , Vinodh Gopal , James Guilford , Wajdi Feghali , Tim Chen , Jussi Kivilinna , linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org Date: Wed, 16 Sep 2015 16:34:32 -0700 In-Reply-To: Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.8.5 (3.8.5-2.fc19) Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org During the posting of patches of new x86 sha1 and sha256 algorithms based on new x86 SHA extensions, I got requests to expose all the available sha transform implementations that are based on SSSE3, AVX and AVX2 as separate individual crypto driver. The result is this series of patches. I've also performed clean up of the glue code to make them easier to maintain. Thanks. Tim Pre-req patch series: [1] https://lkml.org/lkml/2015/9/10/554 Tim Chen (3): crypto: [sha] Restructure x86 sha1 glue code to expose all the available sha1 transforms crypto: [sha] Restructure x86 sha256 glue code to expose all the available sha256 transforms crypto: [sha] Restructure x86 sha512 glue code to expose all the available sha512 transforms arch/x86/crypto/sha1_ssse3_glue.c | 324 +++++++++++++++++++++++++++-------- arch/x86/crypto/sha256_ssse3_glue.c | 331 ++++++++++++++++++++++++++++++------ arch/x86/crypto/sha512_ssse3_glue.c | 249 ++++++++++++++++++++++----- 3 files changed, 735 insertions(+), 169 deletions(-) -- 1.7.11.7