solana/zk-token-sdk/src/zk_token_elgamal/pod
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
..
auth_encryption.rs [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
elgamal.rs [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
grouped_elgamal.rs [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
instruction.rs [zk-token-sdk] remove non-pod structs `TransferPubkeys` and `TransferWithFeePubkeys` (#32042) 2023-06-20 07:07:30 +09:00
mod.rs [zk-token-sdk] remove non-pod structs `TransferPubkeys` and `TransferWithFeePubkeys` (#32042) 2023-06-20 07:07:30 +09:00
pedersen.rs [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
range_proof.rs [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00
sigma_proofs.rs [zk-token-sdk] replace hard-coded constants with constant variables (#32274) 2023-06-29 07:03:26 +09:00