Skip to content

Commit

Permalink
Add public key sizes to benchmarking table
Browse files Browse the repository at this point in the history
Closes #73 .
  • Loading branch information
dstebila committed Feb 9, 2017
1 parent 09cff0d commit fa0e98e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/kex/test_kex.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,8 @@ static int kex_bench_wrapper(OQS_RAND *rand, enum OQS_KEX_alg_name alg_name, con
TIME_OPERATION_SECONDS({ OQS_KEX_alice_1(kex, alice_priv, bob_msg, bob_msg_len, &alice_key, &alice_key_len); free(alice_key); }, "alice 1", seconds);
alice_key = NULL;

printf("Communication (bytes): A->B: %zu, B->A: %zu, total: %zu\n", alice_msg_len, bob_msg_len, alice_msg_len + bob_msg_len);

rc = 1;
goto cleanup;

Expand Down

0 comments on commit fa0e98e

Please sign in to comment.