HACL*: A Verified Modern Cryptographic Library. Zinzindohoué, J., Bhargavan, K., Protzenko, J., & Beurdouche, B. In Proceedings of the 2017 ACM SIGSAC Conference on Computer and Communications Security, pages 1789–1806, Dallas Texas USA, October, 2017. ACM.
HACL*: A Verified Modern Cryptographic Library [link]Paper  doi  abstract   bibtex   
HACL∗ is a verified portable C cryptographic library that implements modern cryptographic primitives such as the ChaCha20 and Salsa20 encryption algorithms, Poly1305 and HMAC message authentication, SHA-256 and SHA-512 hash functions, the Curve25519 elliptic curve, and Ed25519 signatures. HACL∗ is written in the F∗ programming language and then compiled to readable C code. The F∗ source code for each cryptographic primitive is verified for memory safety, mitigations against timing side-channels, and functional correctness with respect to a succinct high-level specification of the primitive derived from its published standard. The translation from F∗ to C preserves these properties and the generated C code can itself be compiled via the CompCert verified C compiler or mainstream compilers like GCC or CLANG. When compiled with GCC on 64-bit platforms, our primitives are as fast as the fastest pure C implementations in OpenSSL and Libsodium, significantly faster than the reference C code in TweetNaCl, and between 1.1x-5.7x slower than the fastest hand-optimized vectorized assembly code in SUPERCOP.
@inproceedings{zinzindohoueHACLVerifiedModern2017,
	address = {Dallas Texas USA},
	title = {{HACL}*: {A} {Verified} {Modern} {Cryptographic} {Library}},
	isbn = {978-1-4503-4946-8},
	shorttitle = {{HACL}*},
	url = {https://dl.acm.org/doi/10.1145/3133956.3134043},
	doi = {10.1145/3133956.3134043},
	abstract = {HACL∗ is a verified portable C cryptographic library that implements modern cryptographic primitives such as the ChaCha20 and Salsa20 encryption algorithms, Poly1305 and HMAC message authentication, SHA-256 and SHA-512 hash functions, the Curve25519 elliptic curve, and Ed25519 signatures. HACL∗ is written in the F∗ programming language and then compiled to readable C code. The F∗ source code for each cryptographic primitive is verified for memory safety, mitigations against timing side-channels, and functional correctness with respect to a succinct high-level specification of the primitive derived from its published standard. The translation from F∗ to C preserves these properties and the generated C code can itself be compiled via the CompCert verified C compiler or mainstream compilers like GCC or CLANG. When compiled with GCC on 64-bit platforms, our primitives are as fast as the fastest pure C implementations in OpenSSL and Libsodium, significantly faster than the reference C code in TweetNaCl, and between 1.1x-5.7x slower than the fastest hand-optimized vectorized assembly code in SUPERCOP.},
	language = {en},
	urldate = {2021-08-03},
	booktitle = {Proceedings of the 2017 {ACM} {SIGSAC} {Conference} on {Computer} and {Communications} {Security}},
	publisher = {ACM},
	author = {Zinzindohoué, Jean-Karim and Bhargavan, Karthikeyan and Protzenko, Jonathan and Beurdouche, Benjamin},
	month = oct,
	year = {2017},
	pages = {1789--1806},
}

Downloads: 0