RustCrypto / meta

Meta-crates of the RustCrypto project
11 stars 6 forks source link

hacspec integration #9

Open tarcieri opened 3 years ago

tarcieri commented 3 years ago

hacspec is a specification language for cryptographic primitives implemented as a subset of Rust:

https://github.com/hacspec/hacspec

The goal is to provide formally verified reference implementations of cryptographic primitives utilizing techniques like equivalence proving to verified implementations in languages like F*.

It'd be interesting to verify our implementations against the hacspec reference versions, potentially leveraging tools like Project Oak's RVT and/or crux-mir.

Relevant algorithms

AEADs

Block/Stream Ciphers

Elliptic Curves

Hash Functions

Key Derivation Functions

Message Authentication Codes

Universal Hashes

daviddrysdale commented 3 years ago

cc @alastairreid @BenLaurie