solana/zk-token-sdk/src
samkim-crypto ded278fb57
[zk-token-sdk] Add range proof generation error types (#34065)
* replace assert statements with `VectorLengthMismatch` error variant

* add a condition to check that the bit lengths are in the correct range

* replace assert statements with `GeneratorLengthMismatch`

* remove unchecked arithmetic

* add `InnerProductLengthMismatch` error

* fix typo

* add a clarifying comment on unwrap safety

* fix typo
2023-11-22 06:50:24 +09:00
..
curve25519 [zk-token-sdk] use canonical decoding for scalars (#28870) 2022-11-18 15:11:06 +09:00
encryption [zk-token-sdk] Re-organize error types (#34034) 2023-11-17 07:00:47 +09:00
instruction [zk-token-sdk] Add range proof generation error types (#34065) 2023-11-22 06:50:24 +09:00
range_proof [zk-token-sdk] Add range proof generation error types (#34065) 2023-11-22 06:50:24 +09:00
sigma_proofs [zk-token-sdk] Re-organize error types (#34034) 2023-11-17 07:00:47 +09:00
zk_token_elgamal [zk-token-sdk] Re-organize error types (#34034) 2023-11-17 07:00:47 +09:00
errors.rs [zk-token-sdk] Add a length check on range proof commitment length (#34165) 2023-11-21 08:48:15 +09:00
lib.rs Upgrades Rust to 1.72.0 & nightly-2023-08-25 (#32961) 2023-09-01 07:26:13 +00:00
macros.rs [zk-token-sdk] Re-organize error types (#34034) 2023-11-17 07:00:47 +09:00
transcript.rs
zk_token_proof_instruction.rs [zk-token-sdk] Add fee sigma proof verification instruction (#32291) 2023-06-28 09:49:56 +09:00
zk_token_proof_program.rs
zk_token_proof_state.rs