halo2/src/primitives
Jack Grigg c08d12cc52 Use incomplete addition in SinsemillaHashToPoint
This requires exposing the ⊥ case throughout the return types. We
prevent it from propagating into the Orchard note and key types by
ensuring that:

- When we generate keys or notes, if we encounter ⊥ we discard and
  re-generate.
- When we construct keys or notes via any other pathway (e.g. parsing
  from bytes), we check for and reject ⊥.
2021-04-20 10:05:56 +12:00
..
poseidon Refactor Poseidon primitive to use const generics 2021-03-26 09:07:38 +13:00
sinsemilla Simulate incomplete addition 2021-04-20 10:04:44 +12:00
poseidon.rs Use const generics for poseidon::ConstantLength 2021-03-30 14:13:15 +13:00
redpallas.rs Use orchard::redpallas types in orchard::keys implementation 2021-03-06 00:03:26 +00:00
sinsemilla.rs Use incomplete addition in SinsemillaHashToPoint 2021-04-20 10:05:56 +12:00