Skip to content

chore: fix sidetrail timings#5729

Merged
maddeleine merged 1 commit intomainfrom
sidetrail
Feb 17, 2026
Merged

chore: fix sidetrail timings#5729
maddeleine merged 1 commit intomainfrom
sidetrail

Conversation

@maddeleine
Copy link
Copy Markdown
Contributor

@maddeleine maddeleine commented Feb 10, 2026

Goal

Reduce sidetrail runtime from 40min back to 15min.

Why

We recently noticed a huge leap in sidetrail runtimes, from 15min to 40min after PR #5719.

How

I initialized the fields of the extension bitfield in the proof setup on the advice of the automated reasoning team. These fields don't change the behavior of the s2n_cbc_verify function, which is what we're trying to prove anyways. The function doesn't even touch these connection fields.

Callouts

I think this solution is strictly better than #5727, where we're locking the proof to 15 loop unrolls.

Testing

The runtime in the general batch for the sidetrail test is now 10 minutes.

Related

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@github-actions github-actions bot added the s2n-core team label Feb 10, 2026
@maddeleine maddeleine marked this pull request as ready for review February 11, 2026 00:19
@maddeleine maddeleine added this pull request to the merge queue Feb 13, 2026
github-merge-queue bot pushed a commit that referenced this pull request Feb 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 13, 2026
@maddeleine maddeleine added this pull request to the merge queue Feb 13, 2026
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 13, 2026
@maddeleine maddeleine added this pull request to the merge queue Feb 17, 2026
Merged via the queue into main with commit fec5975 Feb 17, 2026
57 checks passed
@maddeleine maddeleine deleted the sidetrail branch February 17, 2026 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants