linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH
@ 2015-10-14 19:12 LABBE Corentin
  2015-10-15 13:19 ` Herbert Xu
  0 siblings, 1 reply; 5+ messages in thread
From: LABBE Corentin @ 2015-10-14 19:12 UTC (permalink / raw)
  To: clabbe.montjoie, herbert, tadeusz.struk; +Cc: linux-kernel

The define SHA1_DIGEST_LENGTH is not used anywhere, so remove it.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
---
 include/linux/mpi.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/linux/mpi.h b/include/linux/mpi.h
index 641b7d6..a792b38 100644
--- a/include/linux/mpi.h
+++ b/include/linux/mpi.h
@@ -32,12 +32,6 @@
 
 #include <linux/types.h>
 
-/* DSI defines */
-
-#define SHA1_DIGEST_LENGTH   20
-
-/*end of DSI defines */
-
 #define BYTES_PER_MPI_LIMB	(BITS_PER_LONG / 8)
 #define BITS_PER_MPI_LIMB	BITS_PER_LONG
 
-- 
2.4.9


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH
  2015-10-14 19:12 [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH LABBE Corentin
@ 2015-10-15 13:19 ` Herbert Xu
  2015-10-20 15:03   ` LABBE Corentin
  0 siblings, 1 reply; 5+ messages in thread
From: Herbert Xu @ 2015-10-15 13:19 UTC (permalink / raw)
  To: LABBE Corentin; +Cc: tadeusz.struk, linux-kernel

On Wed, Oct 14, 2015 at 09:12:29PM +0200, LABBE Corentin wrote:
> The define SHA1_DIGEST_LENGTH is not used anywhere, so remove it.
> 
> Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>

Please resend with a cc to linux-crypto.

Thanks,
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH
  2015-10-14 19:11 [PATCH] s390: crypto: replace raw value by their coresponding define LABBE Corentin
@ 2015-10-15 18:34 ` LABBE Corentin
  2015-10-20 14:19   ` Herbert Xu
  0 siblings, 1 reply; 5+ messages in thread
From: LABBE Corentin @ 2015-10-15 18:34 UTC (permalink / raw)
  To: clabbe.montjoie, herbert, tadeusz.struk; +Cc: linux-crypto, linux-kernel

The define SHA1_DIGEST_LENGTH is not used anywhere, so remove it.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
---
 include/linux/mpi.h | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/include/linux/mpi.h b/include/linux/mpi.h
index 641b7d6..a792b38 100644
--- a/include/linux/mpi.h
+++ b/include/linux/mpi.h
@@ -32,12 +32,6 @@
 
 #include <linux/types.h>
 
-/* DSI defines */
-
-#define SHA1_DIGEST_LENGTH   20
-
-/*end of DSI defines */
-
 #define BYTES_PER_MPI_LIMB	(BITS_PER_LONG / 8)
 #define BITS_PER_MPI_LIMB	BITS_PER_LONG
 
-- 
2.4.9


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH
  2015-10-15 18:34 ` [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH LABBE Corentin
@ 2015-10-20 14:19   ` Herbert Xu
  0 siblings, 0 replies; 5+ messages in thread
From: Herbert Xu @ 2015-10-20 14:19 UTC (permalink / raw)
  To: LABBE Corentin; +Cc: tadeusz.struk, linux-crypto, linux-kernel

On Thu, Oct 15, 2015 at 08:34:53PM +0200, LABBE Corentin wrote:
> The define SHA1_DIGEST_LENGTH is not used anywhere, so remove it.
> 
> Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>

Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH
  2015-10-15 13:19 ` Herbert Xu
@ 2015-10-20 15:03   ` LABBE Corentin
  0 siblings, 0 replies; 5+ messages in thread
From: LABBE Corentin @ 2015-10-20 15:03 UTC (permalink / raw)
  To: Herbert Xu; +Cc: linux-kernel

On Thu, Oct 15, 2015 at 09:19:21PM +0800, Herbert Xu wrote:
> On Wed, Oct 14, 2015 at 09:12:29PM +0200, LABBE Corentin wrote:
> > The define SHA1_DIGEST_LENGTH is not used anywhere, so remove it.
> > 
> > Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
> 
> Please resend with a cc to linux-crypto.
> 

Hello

Do you will accept a patch for adding lib/mpi and ./include/linux/mpi.h to CRYPTO API section of MAINTAINERS.

Regards

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2015-10-20 15:03 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-14 19:12 [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH LABBE Corentin
2015-10-15 13:19 ` Herbert Xu
2015-10-20 15:03   ` LABBE Corentin
  -- strict thread matches above, loose matches on Subject: below --
2015-10-14 19:11 [PATCH] s390: crypto: replace raw value by their coresponding define LABBE Corentin
2015-10-15 18:34 ` [PATCH] lib/mpi: clean unused SHA1_DIGEST_LENGTH LABBE Corentin
2015-10-20 14:19   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).