Skip to content

Commit

Permalink
Fix other instances
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastinas committed Feb 6, 2025
1 parent ad38ca4 commit 50d4f2c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions faest_aes.c
Original file line number Diff line number Diff line change
Expand Up @@ -1009,8 +1009,8 @@ static void aes_192_mix_columns_prover(bf192_t* y_deg0, bf192_t* y_deg1, bf192_t

// ::2-4
uint8_t one[8] = {1,0,0,0,0,0,0,0};
uint8_t two[8] = {2,0,0,0,0,0,0,0};
uint8_t three[8] = {3,0,0,0,0,0,0,0};
uint8_t two[8] = {0,1,0,0,0,0,0,0};
uint8_t three[8] = {1,1,0,0,0,0,0,0};
bf192_t v1 = bf192_byte_combine_bits(one);
bf192_t v2 = bf192_byte_combine_bits(two);
bf192_t v3 = bf192_byte_combine_bits(three);
Expand Down Expand Up @@ -1113,8 +1113,8 @@ static void aes_192_mix_columns_verifier(bf192_t* y_deg1, const bf192_t* in_deg1

// ::2-4
uint8_t one[8] = {1,0,0,0,0,0,0,0};
uint8_t two[8] = {2,0,0,0,0,0,0,0};
uint8_t three[8] = {3,0,0,0,0,0,0,0};
uint8_t two[8] = {0,1,0,0,0,0,0,0};
uint8_t three[8] = {1,1,0,0,0,0,0,0};
bf192_t v1 = bf192_byte_combine_bits(one);
bf192_t v2 = bf192_byte_combine_bits(two);
bf192_t v3 = bf192_byte_combine_bits(three);
Expand Down Expand Up @@ -1166,8 +1166,8 @@ static void aes_256_mix_columns_prover(bf256_t* y_deg0, bf256_t* y_deg1, bf256_t

// ::2-4
uint8_t one[8] = {1,0,0,0,0,0,0,0};
uint8_t two[8] = {2,0,0,0,0,0,0,0};
uint8_t three[8] = {3,0,0,0,0,0,0,0};
uint8_t two[8] = {0,1,0,0,0,0,0,0};
uint8_t three[8] = {1,1,0,0,0,0,0,0};
bf256_t v1 = bf256_byte_combine_bits(one);
bf256_t v2 = bf256_byte_combine_bits(two);
bf256_t v3 = bf256_byte_combine_bits(three);
Expand Down Expand Up @@ -1270,8 +1270,8 @@ static void aes_256_mix_columns_verifier(bf256_t* y_deg1, const bf256_t* in_deg1

// ::2-4
uint8_t one[8] = {1,0,0,0,0,0,0,0};
uint8_t two[8] = {2,0,0,0,0,0,0,0};
uint8_t three[8] = {3,0,0,0,0,0,0,0};
uint8_t two[8] = {0,1,0,0,0,0,0,0};
uint8_t three[8] = {1,1,0,0,0,0,0,0};
bf256_t v1 = bf256_byte_combine_bits(one);
bf256_t v2 = bf256_byte_combine_bits(two);
bf256_t v3 = bf256_byte_combine_bits(three);
Expand Down

0 comments on commit 50d4f2c

Please sign in to comment.