Expand description
Various utilities for circuit building.
Functionsยง
- all_
true - Check that all boolean wires in an iterable are simultaneously true.
- bool_
to_ mask - Convert MSB-bool into an all-1/all-0 mask.
- byteswap
- Swap the byte order of the word.
- num_
biguint_ from_ u64_ limbs - Returns a BigUint from u64 limbs with little-endian ordering
- pack_
bytes_ into_ const_ wires_ le - Pack bytes into constant wires using little-endian packed 64-bit words.
- pack_
bytes_ into_ wires_ le - Populate the given wires from bytes using little-endian packed 64-bit words.