Function prio::util::reconstruct_shares[][src]

pub fn reconstruct_shares<F: FieldElement>(
    share1: &[F],
    share2: &[F]
) -> Option<Vec<F>>
Expand description

Add two field element arrays together elementwise.

Returns None, when array lengths are not equal.