aboutsummaryrefslogtreecommitdiff
path: root/src/model/python
diff options
context:
space:
mode:
Diffstat (limited to 'src/model/python')
-rwxr-xr-xsrc/model/python/sha512.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/model/python/sha512.py b/src/model/python/sha512.py
index bca62af..672dc73 100755
--- a/src/model/python/sha512.py
+++ b/src/model/python/sha512.py
@@ -290,12 +290,16 @@ def compare_digests(digest, expected):
if (digest != expected):
print("Error:")
print("Got:")
- print(digest)
+ for i in digest:
+ print("0x%016x " % (i), end="")
+ print()
print("Expected:")
- print(expected)
+ for i in expected:
+ print("0x%016x " % (i), end="")
+ print()
else:
print("Test case ok.")
-
+ print()
#-------------------------------------------------------------------