Re: [PATCH] crypto: x86: Remove duplicate define of SHA1_DIGEST_SIZE

2015-10-29 Thread Tim Chen
On Thu, 2015-10-29 at 08:51 +0100, LABBE Corentin wrote: > On Fri, Oct 16, 2015 at 09:04:58AM -0700, Tim Chen wrote: > > On Wed, 2015-10-14 at 21:15 +0200, LABBE Corentin wrote: > > > The sha x86 crypto code use two define for the same thing: > > > NUM_SHA1_DIGEST_WORDS and SHA1_DIGEST_LENGTH > >

Re: [PATCH] crypto: x86: Remove duplicate define of SHA1_DIGEST_SIZE

2015-10-29 Thread LABBE Corentin
o decide which one you prefer. Regards --8<-- >From 7439bc57d95de49a510c0eb5d328dec10a3c6689 Mon Sep 17 00:00:00 2001 From: LABBE Corentin <clabbe.montj...@gmail.com> Date: Wed, 14 Oct 2015 12:48:04 +0200 Subject: [PATCH] crypto: x86: Remove duplicate define of SHA1_DIGE

Re: [PATCH] crypto: x86: Remove duplicate define of SHA1_DIGEST_SIZE

2015-10-16 Thread Tim Chen
On Wed, 2015-10-14 at 21:15 +0200, LABBE Corentin wrote: > The sha x86 crypto code use two define for the same thing: > NUM_SHA1_DIGEST_WORDS and SHA1_DIGEST_LENGTH > Replace them by SHA1_DIGEST_SIZE/4 Thanks. Acked-by: Tim Chen > > Signed-off-by: LABBE Corentin

[PATCH] crypto: x86: Remove duplicate define of SHA1_DIGEST_SIZE

2015-10-14 Thread LABBE Corentin
The sha x86 crypto code use two define for the same thing: NUM_SHA1_DIGEST_WORDS and SHA1_DIGEST_LENGTH Replace them by SHA1_DIGEST_SIZE/4 Signed-off-by: LABBE Corentin --- arch/x86/crypto/sha-mb/sha1_mb.c| 2 +- arch/x86/crypto/sha-mb/sha_mb_ctx.h | 1 -