Articles here
Building and Maintaining Test Vector Suites: Making Vectors Outlive the Code
A good test vector suite is public infrastructure for a cryptographic ecosystem. This article covers coverage design, generation with independent cross-confirmation, format and metadata conventions, and how to maintain and version vectors as specifications evolve.
Test VectorsTest InfrastructureVersioning
Cross-Implementation Interoperability Testing: Each Side Passes, Yet They Cannot Talk
Two PQC implementations that each pass their own test suites can still fail to interoperate. This article dissects the typical sources — encoding details, mismatched parameters and context strings, version drift — and explains matrix-style cross-testing and artifact exchange.
Interoperability TestingProtocol CompatibilityCross-Testing
Fuzzing Cryptographic Implementations: Treating Malformed Input as the Norm
Fuzzing bombards an implementation with mutated inputs and is the primary tool for finding memory errors in parsing and decoding layers. This article covers fuzzing targets in cryptographic code, differential oracles, structure-aware mutation, and continuous integration.
FuzzingRobustnessSecurity Testing
How PQC Performance Numbers Are Actually Measured: Cycle Counts, SUPERCOP, and Why Papers Disagree
The same algorithm can look twice as fast in one paper as in another — and usually the algorithm is not the problem; the measurement is. This article takes apart how PQC benchmarking really works: why cycles are counted instead of seconds, how SUPERCOP turns measurement into a specification, which variables destroy comparability, and why embedded platforms keep a separate ledger.
benchmarkingSUPERCOPcycle counting
Known-Answer Tests in Depth: What KAT Catches and What It Cannot
KAT is the oldest and most basic testing tool for cryptographic code. This article goes deeper into how it works: deterministic randomness injection, intermediate-value comparison, layered vector design, and the error classes it cannot see.
KATTest VectorsCryptographic Validation
Performance Regression Pipelines: Do Not Let Speed Decay While Nobody Is Watching
Performance regressions in cryptographic implementations are usually silent. This article explains how to turn benchmarking into a continuous pipeline — fixed environment, sound statistics, threshold alerts, and linkage with correctness testing — so every regression is attributed to a specific commit.
Performance RegressionContinuous IntegrationBenchmarking
The PQC Testing Toolkit: From Known-Answer Tests to Constant-Time Checks
Writing a post-quantum implementation is only half the job; proving it correct is the other half. This article covers five core testing methods — KAT, ACVP, interoperability testing, constant-time detection, and benchmarking conventions — and ends with an actionable checklist.
PQC testingACVPconstant-time
Testing Constant-Time Behavior: Leakage Is Invisible — It Has to Be Measured
Constant-time discipline is the basic defense against timing side channels, but it cannot be confirmed by reading code. This article covers the sources of timing leakage, statistical measurement methods, instrumentation-based detection, and the inherent limits of such testing.
Constant TimeSide ChannelsTiming Analysis