solana/zk-token-sdk
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
..
src [zk-token-sdk] Add range proof generation error types (#34065) 2023-11-22 06:50:24 +09:00
.gitignore Don't accidentally commit farf (#22349) 2022-01-06 17:24:33 -07:00
Cargo.toml Bump rand to 0.8, rand_chacha to 0.3, getrandom to 0.2 (#32871) 2023-08-21 19:11:21 +02:00