X-Git-Url: https://git.rrq.au/?a=blobdiff_plain;f=src%2Fshs2.c;h=4674f3fff5d82e311201c8a5861f59201fdd1b92;hb=6abe70f9c776b8cafd1fd434b9ce1e9ab7e84c96;hp=64a2fcca13e67426ceffbd19a5e3d6c1ab05b308;hpb=23c77cc092dbbb1e12c47c2b0021d4476b543702;p=rrq%2Fmaintain_lilo.git diff --git a/src/shs2.c b/src/shs2.c index 64a2fcc..4674f3f 100644 --- a/src/shs2.c +++ b/src/shs2.c @@ -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 */