Verified Garbage is an experimental cryptography library that leverages LLMs to write assembly code for multiple Instruction Set Architectures, which is then formally verified using Lean for correctness and constant-timeness. This approach aims to resolve the trade-offs between performance and verifiability by allowing sophisticated assembly optimizations while ensuring security through formal proofs. The project stands out for its use of automated tooling in the formal verification of cryptographic primitives across diverse platforms.
Background
Cryptographic libraries typically face difficult choices between high-performance assembly implementations that are hard to audit and high-level languages that struggle to guarantee constant-time execution. Existing efforts like AWS's s2n-bignum have pioneered formal verification of assembly, but Verified Garbage extends this scope using LLM assistance.
- Source
- Lobsters
- Published
- Nov 29, 2026 at 08:41 AM
- Score
- 7.0 / 10