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