Working on improving crypto stuff

This commit is contained in:
hakril
2017-10-09 09:11:48 +02:00
parent f6e151a7d5
commit 930c992be3
10 changed files with 304 additions and 70 deletions
+4 -1
View File
@@ -56,4 +56,7 @@ def print_ctypes_struct(struct, name="", ident=0, hexa=False):
except Exception as e:
print("Error while printing <{0}> : {1}".format(fname, e))
continue
print_ctypes_struct(value, "{0}.{1}".format(name, fname), hexa=hexa)
print_ctypes_struct(value, "{0}.{1}".format(name, fname), hexa=hexa)
def sprint(struct, name="struct", hexa=True):
return print_ctypes_struct(struct, name=name, hexa=hexa)