]> git.cryptolib.org Git - avr-crypto-lib.git/blobdiff - host/nessie_check.rb
new skipjack test
[avr-crypto-lib.git] / host / nessie_check.rb
index d2ed46ad43c6d68fd258d487b0cd15bd494fdc03..cea8925e31438c8295f1b01ab5c89279d0677d13 100644 (file)
@@ -18,6 +18,8 @@
     along with this program.  If not, see <http://www.gnu.org/licenses/>.
 =end
 
+$debug = true
+
 def skip_header(file)
   begin
     l = file.gets().strip
@@ -89,8 +91,8 @@ def compare(fname1, fname2)
        end
        if(a!=b and a!=nil and b!=nil)
          $error += 1
-#        puts("a key: "+a[0]+" value: "+a[1])
-#        puts("b key: "+b[0]+" value: "+b[1])
+         puts("a key: "+a[0]+" value: "+a[1]) if $debug
+         puts("b key: "+b[0]+" value: "+b[1]) if $debug
        end
   end until a==nil or b==nil
 end