solana-with-rpc-optimizations/zk-token-sdk/src
samkim-crypto 91186d3860
[zk-token-sdk] replace hard-coded constants with constant variables (#32274)
* add ristretto and scalar byte length constants

* add serialization and deserialization helper functions

* remove hard-coded constants in the `sigma` module

* remove hard-coded constants in the `encryption` module

* remove hard-coded constants in the `zk-token-elgamal` module

* Apply suggestions from code review

Co-authored-by: Tyera <tyera@solana.com>

* fix docs for range proof constants

* Apply suggestions from code review

Co-authored-by: Tyera <tyera@solana.com>

* clippy

---------

Co-authored-by: Tyera <tyera@solana.com>
2023-06-29 07:03:26 +09:00
..
curve25519
encryption [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
instruction
range_proof
sigma_proofs [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
zk_token_elgamal [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
errors.rs
lib.rs [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
macros.rs
transcript.rs
zk_token_proof_instruction.rs
zk_token_proof_program.rs
zk_token_proof_state.rs