Skip to content

Commit

Permalink
Fix error with plot
Browse files Browse the repository at this point in the history
  • Loading branch information
jiep committed Jan 16, 2023
1 parent 0b1ce4a commit 6df8bcb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "generic-anon-ake"
version = "0.3.2-test3"
version = "0.3.2-test4"
edition = "2021"
default-run = "generic-anon-ake"

Expand Down
6 changes: 5 additions & 1 deletion graphics/generate_graphics.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,13 @@ def get_length_data(path):
kind = file_s[0].split("/")[-1].upper()
pke = file_s[1]
sig = file_s[2]
if kind == "PQ":
alg = pke + "+" + sig
else:
alg = CLASSIC_PKE_SIG
clients = int(file_s[3].replace(".csv", ""))
df = pd.read_csv(file, header=None)
d = [kind, pke + "+" + sig, clients, int(np.sum(df, axis = 1))]
d = [kind, alg, clients, int(np.sum(df, axis = 1))]
data = np.vstack([data, d])
return data

Expand Down

0 comments on commit 6df8bcb

Please sign in to comment.