pub fn validate_share_for_algorithm(
share: &ThresholdShare,
algorithm: &str,
) -> Result<(), EncapsulateError>Expand description
Marker for the decapsulator side — verifies the share is for the right algorithm.
pub fn validate_share_for_algorithm(
share: &ThresholdShare,
algorithm: &str,
) -> Result<(), EncapsulateError>Marker for the decapsulator side — verifies the share is for the right algorithm.