[PATCH 0/2] async implementation for sha1-mb

From: Megha Dey
Date: Tue May 31 2016 - 17:37:10 EST


From: Megha Dey <megha.dey@xxxxxxxxxxxxxxx>

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.

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

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

--
1.9.1