Skip to contentSkip to conversation

lib/mpi: clean unused SHA1_DIGEST_LENGTH

PATCH In review LABBE Corentin 2 participants 3 messages Oct 14, 2015 – Oct 20, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lib/mpi: clean unused SHA1_DIGEST_LENGTH

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

---
 include/linux/mpi.h | 6 ------
 1 file changed, 6 deletions(-)
include/linux/mpi.h +0 -6
index 641b7d6..a792b38 100644
@@ -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
 
Signature · 1 line
2.4.9
#1 lore raw
Quoted 3 lines · LABBE Corentin

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

Please resend with a cc to linux-crypto.

Thanks,

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
#2 lore raw
Quoted 7 lines · Herbert Xu
Quoted 3 lines · LABBE Corentin

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

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