Skip to content

Commit

Permalink
chore: add comment to improve clarity in compute_ciphertext
Browse files Browse the repository at this point in the history
  • Loading branch information
LHerskind committed May 7, 2024
1 parent 4b6d187 commit 72dee5c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions noir-projects/aztec-nr/aztec/src/encrypted_logs/header.nr
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ impl EncryptedLogHeader {
for i in 0..16 {
sym_key[i] = full_key[i];
iv[i] = full_key[i + 16];

// We copy address on the following 2 lines in order to avoid having 2 loops
input[i] = input_slice[i];
input[i + 16] = input_slice[i + 16];
}
Expand Down

0 comments on commit 72dee5c

Please sign in to comment.