constant-time-testing by trailofbits

Measures timing side channels in cryptographic implementations by running them, using dudect for statistical analysis and Timecop over Valgrind for dynamic tracing. Covers the formal, symbolic, dynamic, and statistical tool categories and how to read a result. Use when testing whether a running implementation is constant-time, measuring timing variance on a compiled binary, or investigating a suspected timing attack. Not for statically inspecting compiler output — the constant-time-analysis plugin covers that.

Content & Writing
6.9K Stars
596 Forks
Updated Aug 26, 2026, 02:18 PM

Why Use This

This skill provides specialized capabilities for trailofbits's codebase.

Use Cases

  • Developing new features in the trailofbits repository
  • Refactoring existing code to follow trailofbits standards
  • Understanding and working with trailofbits's codebase structure

Install Guide

2 steps
  1. 1

    Download Ananke

    Skip this step if Ananke is already installed.

  2. 2

    Install inside Ananke

    Click Install Skill, paste the link below, then press Install.

    https://github.com/trailofbits/skills/tree/main/plugins/testing-handbook-skills/skills/constant-time-testing

Skill Snapshot

Auto scan of skill assets. Informational only.

Valid SKILL.md

Checks against SKILL.md specification

Source & Community

Repository skills
Skill Version
main
Community
6.9K 596
Updated At Aug 26, 2026, 02:18 PM

Skill Stats

SKILL.md 506 Lines
Total Files 3
Total Size 21.4 KB
License CC-BY-SA-4.0