Next Debian release
[rrq/maintain_lilo.git] / src / shs2.c
index 64a2fcca13e67426ceffbd19a5e3d6c1ab05b308..4674f3fff5d82e311201c8a5861f59201fdd1b92 100644 (file)
@@ -1,11 +1,10 @@
-/* shs2.c -- NIST proposed Secure Hash Standard
-*/
-/*
-   Written 2 September 1992, Peter C. Gutmann,
+/* shs2.c  -  NIST proposed Secure Hash Standard
+
+   Written 2 September 1992, Peter C. Gutmann;
    This implementation placed in the public domain.
 
-   Transcribed 2 October 2001, John Coffman.
-   Modified for FIPS PUB 180-1 (supercedes FIPS PUB 180)
+   Transcribed 2 October 2001, John Coffman;
+   Modified for FIPS PUB 180-1 (supercedes FIPS PUB 180).
 
 */
 
@@ -126,7 +125,7 @@ static void shsTransform(void)
 /*  Step A.  Copy the data buffer into the work buffer */
 /*  done  */
 #if SHS_DEBUG>=1
-   for (i=0; i<16; i++)  printf("W[%d] = %08lX\n", i, W[i]);
+   for (i=0; i<16; i++)  printf("W[%d] = %08" PRIX32 "\n", i, W[i]);
 #endif
 
 /*  Step B.  Expand the 16 words into 64 temporary data words */