Commit Graph

17 Commits

Author SHA1 Message Date
ac01aad415 Unnecessary concurrency and terminal silliness. 2020-01-18 10:33:07 -08:00
b3fcd4715e All the infrastructure to eventually to modinv. Don't try to use any of this yet. 2020-01-17 20:44:41 -08:00
e46cfe56d1 Support generating signed numbers. 2020-01-14 12:13:40 -10:00
4383b67c44 Unsigned modular operations. 2020-01-10 09:05:11 -10:00
8c5f18cb7c Commit the start of the work on modular X before I worry about From. 2020-01-08 15:19:34 -10:00
2888164814 Division / modulus! 2020-01-07 18:51:29 -10:00
00e59673f7 Support scaling values by primitive types. 2020-01-06 13:16:11 -08:00
a35d0df6da Multiply works! 2020-01-06 12:25:38 -08:00
d8c752fad3 Start working on generating multiplies via Karatsuba. 2019-12-30 20:38:28 -08:00
e5fa103db0 Support subtraction. 2019-11-27 16:23:52 -08:00
cf80930854 Support addition. 2019-11-27 15:16:15 -08:00
ba587cb37f Start trying to generate shift code. 2019-11-04 17:08:16 -08:00
c52dadcf22 Some commits in the way of cleaning up the Rust and generating module lists. 2019-10-31 16:39:00 -04:00
2400b10fbc Start working on switching to language-rust as a generator, for fun. 2019-10-22 20:12:08 -07:00
1d8907539d Get back to basics, with some basic tests working. 2019-07-30 16:23:14 -07:00
aff88eb2f0 Support a more complete (and simple) requirements gathering mechanism,
and add support for binary operations.

This version of requirements generation simply generates every numeric
size within a provided range, and then will reject trait implementations
that rely on values outside this range. It should be a little more easy
to reason about, and easier to make local changes as I (inevitably) need
to modify rules.
2019-07-22 08:14:40 -07:00
fa872c951a Start experimenting with full generation of all of the numeric types.
Previously, we used a little bit of generation to drive a lot of Rust
macros. This works, but it's a little confusing to read and write. In
addition, we used a lot of implementations with variable timings based
on their input, which isn't great for crypto. This is the start of an
attempt to just generate all of the relevant Rust code directly, and to
use timing-channel resistant implementations for most of the routines.
2019-07-15 17:39:06 -07:00