Skip to content

Commit

Permalink
Naming convention
Browse files Browse the repository at this point in the history
  • Loading branch information
sachaservan committed Jul 17, 2024
1 parent c531cd3 commit 4840932
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion quiet-gar/include/gar.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion quiet-gar/src/gar.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion quiet-gar/src/test.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4840932

Please sign in to comment.