| 1 |
These are files detailing the verification of HMAC with respect to the |
| 2 |
HMAC specification provided by Andrew Appel's HMAC verification effort. |
| 3 |
|
| 4 |
The files in this repository constitute a proof of equivalence between |
| 5 |
the [Cryptol specification of HMAC](../../HMAC.cry) and the [HMAC |
| 6 |
specification](HMAC_spec.v) used for the FCF proof of HMAC. |
| 7 |
|
| 8 |
This proof of equivalence is done through a [mechanized semantics of |
| 9 |
Cryptol](https://github.com/GaloisInc/cryptol-semantics). |
| 10 |
|
| 11 |
You can read more about the FCF proof of correctness for HMAC in |
| 12 |
[this paper](https://www.cs.princeton.edu/~appel/papers/verified-hmac.pdf) |
| 13 |
|
| 14 |
These files don't build by themselves, but rather require the |
| 15 |
[cryptol-semantics repository](https://github.com/GaloisInc/cryptol-semantics) checked out and built |
| 16 |
in the same directory as s2n. |
| 17 |
|
| 18 |
These is verification effort used Coq 8.6, if you use a different |
| 19 |
version YMMV. |
| 20 |
|
| 21 |
Build instructions: |
| 22 |
1. Build the cryptol-semantics repository |
| 23 |
2. make (in this directory) |
| 24 |
|
| 25 |
NOTE: When you make you may see some warnings about ambiguous paths, |
| 26 |
as the cryptol-semantics repository contains all of these files as |
| 27 |
well. |