X-Git-Url: https://git.cryptolib.org/?p=avr-crypto-lib.git;a=blobdiff_plain;f=host%2Fbigint_test.rb;h=25a9f0c9ea1c4159aaaa2330f380c61ec09de5fd;hp=d942b3748737cc6ca5bbdd8f76a6f67507a1487c;hb=27f4804c185ae24b3b6367bb2fdb898d6692d0f6;hpb=7715ef86b09869014eb5afd319e4acc2ce157b00 diff --git a/host/bigint_test.rb b/host/bigint_test.rb index d942b37..25a9f0c 100644 --- a/host/bigint_test.rb +++ b/host/bigint_test.rb @@ -412,6 +412,7 @@ end def expmod_test(a,b,c) begin + printf("[testing] expmod(%#x, %#x, %#x)\n",a,b,c) if $debug line = $sp.gets() line = "" if line==nil puts("DBG got: "+line) if $debug @@ -848,7 +849,7 @@ if File.exists?(logfilename) end $logfile = File.open(logfilename, 'w') printf("logfile: %s\n", logfilename) - +$logfile.sync = true $logfile.printf("bigint test from: %s\n", Time.now.to_s) $logfile.printf("skip = %s\n", opts['s']) if opts['s'] $logfile.printf("seed = 0x%X\n", 0xdeadbeef)