Skip to content

Commit

Permalink
aead benchmarks: Add additional lengths. (#2473)
Browse files Browse the repository at this point in the history
  • Loading branch information
briansmith authored Mar 10, 2025
2 parents e58c36f + 15c48c5 commit 5cd080a
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion bench/aead.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,19 @@ static ALGORITHMS: &[(&str, &aead::Algorithm)] = &[

static RECORD_LENGTHS: &[usize] = &[
TLS12_FINISHED_LEN,
TLS13_FINISHED_LEN,
16,
TLS13_FINISHED_LEN,
64,
128,
256,
512,
1024,
// ~1 packet of data in TLS.
1350,
2048,
4096,
8192,
16384,
];

// All the AEADs we're testing use 96-bit nonces.
Expand Down

0 comments on commit 5cd080a

Please sign in to comment.