Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
…into dev
  • Loading branch information
shamatar committed Dec 22, 2021
2 parents 9d33c74 + feea587 commit f651b05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ edition = "2018"

[dependencies]

franklin_crypto = {package = "franklin-crypto", features = ["plonk"], git = "https://github.com/matter-labs/franklin-crypto", branch = "dev"}
franklin_crypto = {package = "franklin-crypto", features = ["plonk"], git = "ssh://git@github.com/matter-labs/franklin-crypto", branch = "dev"}
# franklin_crypto = {package = "franklin-crypto", features = ["plonk"], path = "../franklin-crypto"}
num-bigint = "0.3"
num-integer = "0.1"
Expand Down
2 changes: 0 additions & 2 deletions src/circuit/sbox.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ fn sbox_alpha<E: Engine, CS: ConstraintSystem<E>, const WIDTH: usize>(
}
Num::Variable(ref value) => {
let result = if use_custom_gate {
// apply_5th_power(cs, value, None)?
inner_apply_5th_power(cs, value, None, custom_gate)?
} else {
let square = value.square(cs)?;
Expand Down Expand Up @@ -118,7 +117,6 @@ fn sbox_alpha_inv<E: Engine, CS: ConstraintSystem<E>, const WIDTH: usize, const
})?;

if use_custom_gate {
// let _ = apply_5th_power(cs, &powered, Some(*value))?;
let _ = inner_apply_5th_power(cs, &powered, Some(*value), custom_gate)?;
} else {
let squared = powered.square(cs)?;
Expand Down

0 comments on commit f651b05

Please sign in to comment.