Skip to content

Commit 5cd080a

Browse files
authored
aead benchmarks: Add additional lengths. (#2473)
2 parents e58c36f + 15c48c5 commit 5cd080a

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

bench/aead.rs

+9-1
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,19 @@ static ALGORITHMS: &[(&str, &aead::Algorithm)] = &[
2828

2929
static RECORD_LENGTHS: &[usize] = &[
3030
TLS12_FINISHED_LEN,
31-
TLS13_FINISHED_LEN,
3231
16,
32+
TLS13_FINISHED_LEN,
33+
64,
34+
128,
35+
256,
36+
512,
37+
1024,
3338
// ~1 packet of data in TLS.
3439
1350,
40+
2048,
41+
4096,
3542
8192,
43+
16384,
3644
];
3745

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

0 commit comments

Comments
 (0)