Skip to content

Commit

Permalink
fix the KAT file parser
Browse files Browse the repository at this point in the history
  • Loading branch information
GiacomoPope committed Jul 19, 2024
1 parent e378e17 commit da83870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_kyber.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
def parse_kat_data(data):
parsed_data = {}
count_blocks = data.split("\n\n")
for block in count_blocks[1:-1]:
for block in count_blocks[:-1]:
block_data = block.split("\n")
count, seed, pk, sk, ct, ss = [
line.split(" = ")[-1] for line in block_data
Expand Down

0 comments on commit da83870

Please sign in to comment.