Skip to main content

combine_shares

Function combine_shares 

Source
pub fn combine_shares(
    session: &DecryptionSession,
) -> Result<Vec<u8>, DecryptionError>
Expand description

Combine decryption shares using Lagrange interpolation. In a real implementation, this would use the group operation (e.g., EC point addition weighted by Lagrange coefficients). Here, we XOR-combine for the mock case.