Add public key sizes to benchmarking table

Closes #73 .
This commit is contained in:
Douglas Stebila 2017-02-08 22:39:40 -05:00
parent 09cff0d2fd
commit fa0e98eb72

View File

@ -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;