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 f40be67 commit 9c5951d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core/primitives.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,7 @@ pub fn reencrypt(
Ok(new_encaps)
}

/// Attempts opening the Covercrypt encapsulation using the given MSK. Returns
/// the encapsulated key and the list of given rights.
/// Recover the encapsulated shared secret and set of rights used in the encapsulation.
fn full_decaps(
msk: &MasterSecretKey,
encapsulation: &XEnc,
Expand Down

0 comments on commit 9c5951d

Please sign in to comment.