Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangxiecrypto committed Oct 20, 2023
1 parent 29c0d40 commit b57cb18
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions ot/mpz-ot-core/src/ferret/spcot/receiver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,11 +138,7 @@ impl Receiver<state::Extension> {
self.state.hasher.update(&ms.to_bytes());
self.state.hasher.update(&sum.to_bytes());

let alpha_bar_vec: Vec<bool> = alpha
.iter_msb0()
.skip(32 - h)
.map(|a| !a)
.collect();
let alpha_bar_vec: Vec<bool> = alpha.iter_msb0().skip(32 - h).map(|a| !a).collect();

// Setp 5 in Figure 6.
let k: Vec<Block> = ms
Expand Down

0 comments on commit b57cb18

Please sign in to comment.