-
-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Formal verification #6
Comments
Nice PDF presented at Black Hat conference 2015 on finding BigNum vulnerabilities: https://comsecuris.com/slides/slides-bignum-bhus2015.pdf |
Formally verified crypto code generated from Coq. Thesis: http://adam.chlipala.net/theses/andreser_meng.pdf Paper: http://adam.chlipala.net/papers/FiatCryptoSP19/FiatCryptoSP19.pdf |
Using Z3 for formally verifying bignum implementation and example on an OpenSSL CVE: https://kryptoslogic.blogspot.com/2015/01/openssls-squaring-bug-and-opportunistic.html Also: http://crypto.di.uminho.pt/CACE/ from the paper: Practical realisation and elimination of an ECC-related software bug attack. https://eprint.iacr.org/2011/633.pdf |
Formally verified crypto assembly primitives using Dafny (and Z3): https://project-everest.github.io/assets/vale2017.pdf |
Using Why3 https://eprint.iacr.org/2021/415.pdf - Efficient Verification of Optimized Code Correct High-speed X25519 Frama-C which inspired Dr.Nim uses Why3 in the backend. |
Cryptoline can verify assembler for cryptography: It works directly on the compiler internal representation (Gimple for GCC, LLVM IR for LLVM)
Jasmin can generate formally-verified assembly:
Like Vale, it also uses Dafny+Z3 for formal verification and the Jasmin compiler itself is written in Coq. |
Given that Constantine aims to be used for elliptic curve cryptographic, it is required to be proved bug-free.
Traditional model checker like TLA+ or Spin are more suited to formally distributed consensus protocols or concurrent data structures.
However the Galois companies offer SAW, a formal verifier that supports C and is used to AES, SHA and ECDSA formal verification: https://saw.galois.com/, it is based on Z3 https://github.com/GaloisInc/saw-script
The text was updated successfully, but these errors were encountered: