X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=test_src%2Fshavs.c;h=53fd488e6e24d798ae17a6e35c9ebeb827ab742e;hp=84cf9f2ce9de5aea5089ec5675c46ea99803d6c0;hb=ca591a22fb1e3500567c3d0b730009b44ba33c2c;hpb=f1f47fea7fa88a6b802c598f5db22a221169e216 diff --git a/test_src/shavs.c b/test_src/shavs.c index 84cf9f2..53fd488 100644 --- a/test_src/shavs.c +++ b/test_src/shavs.c @@ -200,7 +200,7 @@ void shavs_test1(void){ /* KAT tests */ shavs_ctx.buffersize_B=pgm_read_word(&(shavs_algo->blocksize_b))/8; uint8_t buffer[shavs_ctx.buffersize_B+5]; shavs_ctx.buffer = buffer; - fprintf_P(shavs_out_file, PSTR("\nbuffer_size = 0x%04"PRIx16" bytes")); + fprintf_P(shavs_out_file, PSTR("\nbuffer_size = 0x%04"PRIx16" bytes"), shavs_ctx.buffersize_B); for(;;){ shavs_ctx.blocks = 0; memset(buffer, 0, shavs_ctx.buffersize_B);