From 4840932c876735aa51a12db807af06b1c2f73740 Mon Sep 17 00:00:00 2001 From: Sacha Servan-Schreiber <8027773+sachaservan@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:50:47 -0700 Subject: [PATCH] Naming convention --- quiet-gar/include/gar.h | 2 +- quiet-gar/src/gar.c | 2 +- quiet-gar/src/test.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/quiet-gar/include/gar.h b/quiet-gar/include/gar.h index 7762bb8..96dec69 100644 --- a/quiet-gar/include/gar.h +++ b/quiet-gar/include/gar.h @@ -45,7 +45,7 @@ void constrain_key_gen( Key *csk, const uint8_t *constraint); -void GenerateRandomInputs( +void generate_random_inputs( const PublicParams *pp, uint16_t *xor_inputs, uint16_t *maj_inputs, diff --git a/quiet-gar/src/gar.c b/quiet-gar/src/gar.c index 251ce52..72d56ba 100644 --- a/quiet-gar/src/gar.c +++ b/quiet-gar/src/gar.c @@ -395,7 +395,7 @@ void receiver_eval( free(hash_out_x); } -void GenerateRandomInputs( +void generate_random_inputs( const PublicParams *pp, uint16_t *xor_inputs, uint16_t *maj_inputs, diff --git a/quiet-gar/src/test.c b/quiet-gar/src/test.c index 3b19a6e..a6ad27c 100644 --- a/quiet-gar/src/test.c +++ b/quiet-gar/src/test.c @@ -38,7 +38,7 @@ double benchmarkOTs() uint16_t *xor_inputs = malloc(sizeof(uint16_t) * XOR_LEN * num_ots); uint16_t *maj_inputs = malloc(sizeof(uint16_t) * MAJ_LEN * num_ots); - GenerateRandomInputs(pp, xor_inputs, maj_inputs, num_ots); + generate_random_inputs(pp, xor_inputs, maj_inputs, num_ots); uint8_t *outputs_sender = malloc(sizeof(uint8_t) * num_ots * NUM_COMBOS); uint8_t *outputs_receiver = malloc(sizeof(uint8_t) * num_ots);