cryptol/examples/MiniLock/prim
Trevor Elliott 4dc5eda23a Expand the width table, and fix a bug in CryptoBox (Thanks @tommd)
The width table in CryptolTC.z3 wasn't large enough to solve constraints
about the width of 64-bit words. This change is a bit of a band-aid, as
larger words will expose the same problem. Longer-term, we should try to
solve these constraints after the SMT-based phase, using some other
approach.

The constraints in CryptoBox were too permissive, and when adjusted to
represent the true intent (that values fit within 64-bits), and the
width table was updated, the example will type-check again.

Thanks to @tommd for tracking both of these down.
2017-03-27 13:45:50 -07:00
..
Base58.cry Import ::Extras in minilock modules. 2016-01-20 09:45:13 -08:00
Base64.cry Update examples to use (/\) instead of (&&) where appropriate, 2016-08-22 18:14:44 -07:00
Blake2s.cry Update examples to use (/\) instead of (&&) where appropriate, 2016-08-22 18:14:44 -07:00
bv.cry Example: miniLock in Cryptol 2016-01-19 18:19:35 -08:00
CfrgCurves.md Example: miniLock in Cryptol 2016-01-19 18:19:35 -08:00
CryptoBox.cry Expand the width table, and fix a bug in CryptoBox (Thanks @tommd) 2017-03-27 13:45:50 -07:00
HMAC.cry Simplify constraints of Minilock prims. 2016-04-12 15:53:12 -07:00
LittleEndian.cry Example: miniLock in Cryptol 2016-01-19 18:19:35 -08:00
mod_arith.cry Remove trailing whitespace 2016-02-19 10:08:20 -08:00
PBKDF2.cry Simplify constraints of Minilock prims. 2016-04-12 15:53:12 -07:00
Poly1305.md Update examples to use (/\) instead of (&&) where appropriate, 2016-08-22 18:14:44 -07:00
Salsa20.cry Update examples to use (/\) instead of (&&) where appropriate, 2016-08-22 18:14:44 -07:00
SCrypt.cry Simplify constraints of Minilock prims. 2016-04-12 15:53:12 -07:00
SHA256.cry Fix typo in comment, whitespace 2016-05-24 08:21:55 -07:00
TestHMAC.cry integrate MiniLock example 2016-01-19 18:19:35 -08:00