Skip to content

Commit

Permalink
Update src/core/primitives.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Théophile BRÉZOT <[email protected]>
  • Loading branch information
phochard and tbrezot authored Dec 4, 2024
1 parent 9a92a9a commit 388c5a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ fn full_decaps(
) -> Result<(Secret<SHARED_SECRET_LENGTH>, Vec<Right>), Error> {
let A = encapsulation.c.first().unwrap() * &(&msk.tsk.s / &msk.tsk.tracers.front().unwrap().0);
let mut rights = Vec::with_capacity(encapsulation.encapsulations.len());
let mut shared_secret = Secret::new();
let mut ss = Secret::new();
for enc in &encapsulation.encapsulations {
for (right, secrets) in msk.secrets.iter() {
for (_, secret) in secrets {
Expand Down

0 comments on commit 388c5a1

Please sign in to comment.