This commit is contained in:
Pascal Engélibert 2026-01-16 16:55:20 +01:00
commit c9dc2a306e
8 changed files with 230 additions and 134 deletions

View file

@ -20,6 +20,8 @@ ALG_LABEL = {
"X25519MLKEM768": "x25519mlkem",
"SECP256R1MLKEM768": "p256mlkem",
"MLKEM768": "mlkem",
"0": "Off",
"1": "On",
}
# Nice labels for TLS versions using ciphers
@ -44,7 +46,8 @@ COL = {
"energy": "Wh",
"cipher": "cipher",
"cert": "alg",
"kex": "kex"
"kex": "kex",
"ed": "ed",
}
# Physical units by object
UNIT = {
@ -56,7 +59,8 @@ UNIT = {
CRITERION_TITLE = {
"cipher": "cipher",
"cert": "signature algorithm",
"kex": "key exchange"
"kex": "key exchange",
"ed": "0-RTT",
}
def impl_title(impl):
@ -335,6 +339,8 @@ if __name__ == "__main__":
make_log_plot(logs, "impl-cert-ver", "cert", side, "energy", record, machine=machine)
make_log_plot(logs, "impl-kex-ver", "kex", side, "cpu", record, machine=machine)
make_log_plot(logs, "impl-kex-ver", "kex", side, "energy", record, machine=machine)
make_log_plot(logs, "zrtt", "ed", side, "cpu", record, machine=machine)
make_log_plot(logs, "zrtt", "ed", side, "energy", record, machine=machine)
elif cmd == "prof":
for side in ["client-local", "server-local"]:
for record in records: