683e1071f7
* add `ParseError` in `zk-token-elgamal` * implement `FromStr` for `ElGamalPubkey` and `ElGamalCiphertext` * implement `FromStr` for `AeCiphertext` * fix target * cargo fmt * use constants for byte length check * make `FromStr` functions available on chain * use macros for the `FromStr` implementations * restrict `from_str` macro to `pub(crate)` * decode directly into array * cargo fmt * Apply suggestions from code review Co-authored-by: Jon C <me@jonc.dev> * remove unnecessary imports * remove the need for `ParseError` dependency --------- Co-authored-by: Jon C <me@jonc.dev> |
||
---|---|---|
.. | ||
curve25519 | ||
encryption | ||
instruction | ||
range_proof | ||
sigma_proofs | ||
zk_token_elgamal | ||
errors.rs | ||
lib.rs | ||
macros.rs | ||
transcript.rs | ||
zk_token_proof_instruction.rs | ||
zk_token_proof_program.rs | ||
zk_token_proof_state.rs |