arnaucube
arnaucube/plonky2-crypto-gadgetsPublic Self-hosted repository
Lint
Ahmad root@ahmadafuni.com
Tue, 17 Feb 2026 20:05:20 +1000
commit

321728742c98f2aaaaa650d5cf1710266d6f284e

parent

49e4c0694d99b8cc27329387955f0570e4196ae3

1 files changed, 2 insertions(+), 3 deletions(-)

jump to
M ecgfp5/src/elgamal/circuit.rs → ecgfp5/src/elgamal/circuit.rs

@@ -79,7 +79,6 @@ }

#[cfg(test)] mod tests { - use num::BigUint; use num_bigint::RandBigInt; use plonky2::{ iop::witness::PartialWitness,

@@ -98,11 +97,11 @@ };

use rand::rngs::OsRng; use crate::elgamal::{ - ECGFP5SecretKey, TOTAL_BITS, + ECGFP5SecretKey, circuit::{ CircuitBuilderECGFP5PublicKey, CircuitBuilderElGamal, PartialWitnessECGFP5PublicKey, }, - elgamal_decrypt, elgamal_encrypt, + elgamal_encrypt, }; #[test]