cryptol/examples/MiniLock/prim
Brian Huffman 7e34c25e4d Switch to infix syntax for blocks and padding operators.
"x /^ y" is x/y rounded up, i.e. the least n such that x <= y*n.
"x %^ y" is the least k such that x+k is a multiple of y.

For comparison,
"x / y" is x/y rounded down, i.e. the greatest n such that x >= y*n.
"x % y" is the least k such that x-k is a multiple of y.

The new syntax is much more suggestive of the relation to "/" and "%".
2017-09-28 10:26:31 -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 Simplify some type signatures in examples 2017-06-22 10:09:13 -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 some type signatures in examples 2017-06-22 10:09:13 -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 Fix type signatures in MiniLock SCrypt example 2017-08-07 08:37:20 -07:00
SHA256.cry Switch to infix syntax for blocks and padding operators. 2017-09-28 10:26:31 -07:00
TestHMAC.cry integrate MiniLock example 2016-01-19 18:19:35 -08:00