Simple High-Level Code For Cryptographic Arithmetic: With Proofs, Without Compromises


연구 분야: Cryptography



학회: ACM SIGOPS Operating Systems Review, Volume 54, Issue 1


초록

We introduce an unusual approach for implementing cryptographic arithmetic in short high-level code with machinechecked proofs of functional correctness. We further demonstrate that simple partial evaluation is sufficient to transform such initial code into highly competitive C code, breaking the decades-old pattern that the only fast implementations are those whose instruction-level steps were written out by hand. These techniques were used to build an elliptic-curve library that achieves competitive performance for a wide range of prime fields and multiple CPU architectures, showing that implementation and proof effort scales with the number and complexity of conceptually different algorithms, not their use cases. As one outcome, we present the first verified highperformance implementation of P-256, the most widely used elliptic curve. Implementations from our library were included in BoringSSL to replace existing specialized code, for inclusion in several large deployments for Chrome, Android, and CloudFlare. This is an abridged version of the full paper originally presented in IEEE S&P 2019 [10]. We have omitted most proof-engineering details in favor of a focus on the system's functional capabilities.


Author Profile
Andres Erbsen

MIT CSAIL

정보 없음
Author Profile
Jade Philipoom

MIT CSAIL

정보 없음
Author Profile
Jason S Gross

MIT CSAIL

정보 없음

📄 논문 정보

발행 연도 2020년
인용수 10
출판 국가
사이트 ACM
좋아요 수 0

연관 논문 목록 (394건)