Jack Grigg
9297a938ab
Remove `FieldExt::from_u64` usage from SHA-256 example
2021-12-25 13:34:36 +00:00
Carlos Pérez
8cedfe89de
Change to `Into<Column<Any>>` for pub API methods ( #416 )
...
Resolves : zcash/halo2#345
2021-12-15 17:05:31 +00:00
Jack Grigg
a62f9451d1
sha256: Fix `AssignedCell` `From` impls for `AssignedBits` and `Bits`
...
zcash/halo2#337 had been updated to account for `AssignedCell`, before
the change to simplify its bounds was made. `AssignedCell` now requires
the `From` impls to take `&VR`.
2021-12-03 02:53:14 +00:00
therealyingtong
620b4a8b9c
sha256: Update to use new AssignedCell API.
2021-11-28 13:42:10 -05:00
therealyingtong
be1c0c080f
Introduce AssignedBits<LEN> type.
2021-11-27 10:22:52 -05:00
therealyingtong
78e6e9f695
Use AssignedCell for CellValue{16,32}.
2021-11-27 10:22:52 -05:00
therealyingtong
e1c132d664
sha256: Use assign_table() API for lookup table.
2021-11-27 10:22:52 -05:00
therealyingtong
ee5bc8184a
Remove unwrap()s in synthesis.
2021-11-27 10:22:52 -05:00
therealyingtong
66268cf192
Update sha256 example to work with new API
2021-11-27 10:22:52 -05:00
Jack Grigg
80993da1e6
cargo fmt
2021-05-26 22:52:03 +01:00
str4d
da465bb718
examples: Remove some unnecessary clones
2021-05-26 22:49:18 +01:00
therealyingtong
fe2ab0bc7b
Fix SHA256 example
2021-05-14 21:20:53 +08:00
Jack Grigg
a688c8b03d
sha256: Fix / silence lints
2021-02-25 20:34:07 +00:00
Jack Grigg
e41fd7ca12
Move SHA-256 gadget and chip into examples
2021-02-25 20:01:44 +00:00