Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1412717

[PATCH V2 0/2] Implementation of an async interface for sha1-mb

Path csiph.com!news.freedyn.net!aioe.org!gothmog.csi.it!bofh.it!news.nic.it!robomod
From Megha Dey <megha.dey@intel.com>
Newsgroups linux.kernel
Subject [PATCH V2 0/2] Implementation of an async interface for sha1-mb
Date Fri, 03 Jun 2016 04:50:02 +0200
Message-ID <rFNlo-5RH-5@gated-at.bofh.it> (permalink)
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.26,409,1459839600"; d="scan'208";a="994276627"
X-Mailer git-send-email 1.9.1
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 31
Organization linux.* mail to news gateway
X-Original-Cc tim.c.chen@linux.intel.com, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, megha.dey@intel.com, fenghua.yu@intel.com, Megha Dey <megha.dey@linux.intel.com>
X-Original-Date Thu, 2 Jun 2016 19:53:48 -0700
X-Original-Message-ID <1464922430-26976-1-git-send-email-megha.dey@intel.com>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1412717

Show key headers only | View raw


From: Megha Dey <megha.dey@linux.intel.com>

Currently, sha1-mb uses an async interface for the outer algorithm
and a sync interface for the inner algorithm.
Herbert wants the sha1-mb algorithm to have an async implementation:
https://lkml.org/lkml/2016/4/5/286.
This patch introduces a async interface for even the inner algorithm.
Additionally, there are several checkpatch warnings in the sha1_mb.c file:
'WARNING: line over 80 characters' in the sha1_mb.c file. Also, the
syntax of some multi-line comments are not correct. This patchset fixes
these issues.

changes V1->V2
rename shash_ahash_mcryptd* functions to ahash_mcryptd_*
removed the export_symbols for the shash_ahash_mcryptd_* functions
use ahash_interfaces instead of touching the crypto_ahash_request directly

Megha Dey (2):
  crypto: sha1-mb - stylistic cleanup
  crypto : async implementation for sha1-mb

 arch/x86/crypto/sha-mb/sha1_mb.c | 292 ++++++++++++++++++++++++---------------
 crypto/ahash.c                   |   6 -
 crypto/mcryptd.c                 | 131 +++++++++---------
 include/crypto/hash.h            |   6 +
 include/crypto/internal/hash.h   |  16 +--
 include/crypto/mcryptd.h         |   8 +-
 6 files changed, 263 insertions(+), 196 deletions(-)

-- 
1.9.1

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH V2 0/2] Implementation of an async interface for sha1-mb Megha Dey <megha.dey@intel.com> - 2016-06-03 04:50 +0200
  [PATCH V2 1/2] crypto: sha1-mb - stylistic cleanup Megha Dey <megha.dey@intel.com> - 2016-06-03 04:50 +0200
    Re: [PATCH V2 1/2] crypto: sha1-mb - stylistic cleanup Herbert Xu <herbert@gondor.apana.org.au> - 2016-06-07 12:50 +0200

csiph-web