mirror of
https://github.com/open-quantum-safe/liboqs.git
synced 2025-10-08 00:03:38 -04:00
parent
09cff0d2fd
commit
fa0e98eb72
@ -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);
|
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;
|
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;
|
rc = 1;
|
||||||
goto cleanup;
|
goto cleanup;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user