-/* 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).
*/
/* 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 */