A collection of cryptographic primitives for CC:Tweaked.
Find a file
Miguel Oliveira c180d31001
Switch Fp to rounding-based carrying
This improves performance while also simplifying analysis. Ed25519
doubling needs more carrying, but the speedup is worth it.

The simpler Fp model is easier to reason about, but it introduces an
unsound bit that needs to be handwaved away with a comment. Range
checking has not yet been performed.
2022-03-24 16:36:10 -03:00
.vscode Initial commit 2022-03-01 20:08:55 -03:00
internal Switch Fp to rounding-based carrying 2022-03-24 16:36:10 -03:00
web Move internal module notice into long description 2022-03-05 13:43:19 -03:00
.gitignore Update docs 2022-03-02 19:46:20 -03:00
aead.lua Document BLAKE3, ChaCha20 and AEAD 2022-03-05 13:01:30 -03:00
blake3.lua Document BLAKE3, ChaCha20 and AEAD 2022-03-05 13:01:30 -03:00
chacha20.lua Document BLAKE3, ChaCha20 and AEAD 2022-03-05 13:01:30 -03:00
ed25519.lua Switch Fp to rounding-based carrying 2022-03-24 16:36:10 -03:00
illuaminate.sexp Tag internal modules as internal 2022-03-05 13:20:25 -03:00
poly1305.lua Update Poly1305 2022-03-24 10:03:19 -03:00
random.lua Fix wrong filename in random.lua 2022-03-04 12:47:35 -03:00
sha256.lua Generate SHA256 constants instead of storing them 2022-03-10 16:51:16 -03:00
x25519.lua Switch Fp to rounding-based carrying 2022-03-24 16:36:10 -03:00