[Cryptech-Commits] [core/hash/sha512] branch clock_speed updated: Removed weird semicolons.

git at cryptech.is git at cryptech.is
Thu Apr 5 15:05:29 UTC 2018


This is an automated email from the git hooks/post-receive script.

joachim at secworks.se pushed a commit to branch clock_speed
in repository core/hash/sha512.

The following commit(s) were added to refs/heads/clock_speed by this push:
     new 5dfe351  Removed weird semicolons.
5dfe351 is described below

commit 5dfe3514564d7d093c414eac58b1af7b9cd8d879
Author: Joachim Strömbergson <joachim at secworks.se>
AuthorDate: Thu Apr 5 17:05:20 2018 +0200

    Removed weird semicolons.
---
 src/model/python/sha512.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/model/python/sha512.py b/src/model/python/sha512.py
index 3dbab00..f09c99d 100755
--- a/src/model/python/sha512.py
+++ b/src/model/python/sha512.py
@@ -341,7 +341,7 @@ def single_block_tests():
                  0x0000000000000000, 0x0000000000000000, 0x0000000000000000, 0x0000000000000018]
 
 
-    my_sha512 = SHA512(mode = 'MODE_SHA_512', verbose=1);
+    my_sha512 = SHA512(mode = 'MODE_SHA_512', verbose=1)
     TC1_expected = [0xDDAF35A193617ABA, 0xCC417349AE204131, 0x12E6FA4E89A97EA2, 0x0A9EEEE64B55D39A,
                     0x2192992A274FC1A8, 0x36BA3C23A3FEEBBD, 0x454D4423643CE80E, 0x2A9AC94FA54CA49F]
     my_sha512.init()
@@ -350,7 +350,7 @@ def single_block_tests():
     compare_digests(my_digest, TC1_expected)
 
 
-    my_sha512 = SHA512(mode = 'MODE_SHA_512_224', verbose=1);
+    my_sha512 = SHA512(mode = 'MODE_SHA_512_224', verbose=1)
     TC2_expected = [0x4634270F707B6A54, 0xDAAE7530460842E2, 0x0E37ED265CEEE9A4, 0x3E8924AA00000000]
     my_sha512.init()
     my_sha512.next(TC1_block)
@@ -358,7 +358,7 @@ def single_block_tests():
     compare_digests(my_digest, TC2_expected)
 
 
-    my_sha512 = SHA512(mode = 'MODE_SHA_512_256', verbose=1);
+    my_sha512 = SHA512(mode = 'MODE_SHA_512_256', verbose=1)
     TC3_expected = [0x53048E2681941EF9, 0x9B2E29B76B4C7DAB, 0xE4C2D0C634FC6D46, 0xE0E2F13107E7AF23]
     my_sha512.init()
     my_sha512.next(TC1_block)
@@ -366,7 +366,7 @@ def single_block_tests():
     compare_digests(my_digest, TC3_expected)
 
 
-    my_sha512 = SHA512(mode = 'MODE_SHA_384', verbose=1);
+    my_sha512 = SHA512(mode = 'MODE_SHA_384', verbose=1)
     TC4_expected = [0xCB00753F45A35E8B, 0xB5A03D699AC65007, 0x272C32AB0EDED163, 0x1A8B605A43FF5BED,
                     0x8086072BA1E7CC23, 0x58BAECA134C825A7]
     my_sha512.init()

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Commits mailing list