arXiv AI By Chuyue Sun, Su Fong, Zhiyi Kuang, Yizheng Jiao, Nina Narodytska, Haoze Wu, David L. Dill, Clark Barrett

An AI Approach to Verified Production Cryptographic Libraries

Read the original on arXiv AI →

The paper introduces CryptoProver, an AI-driven system that automatically generates internal specifications and formally verified proofs for cryptographic libraries based on high-level API contracts. CryptoProver successfully produced a new independent proof for the Rust library curve25519-dalek and verified the previously unverified chacha20 implementation against RFC 8439, all without modifying the original executable code. The system operates within a trust-first framework, rejecting specification weakening and cross-module breakage, and completed the synthesis in 11.4 hours with a modest API cost.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv AI
Oct 1

Self-Spec Verifiable Code Generation

arXiv:2609.39568v1 Announce Type: cross Abstract: Large language models (LLMs) may generate unreliable code on corner cases missed by testing, while formal verification can provide machine-checkable...

By Jiaru Qian, Yihong Dong, Yongmin Li, Hao Zhu, Bin Gu, Ge Li