diff --git a/ot/mpz-ot/src/ideal/shared/cot.rs b/ot/mpz-ot/src/ideal/shared/cot.rs index 3266c2b8..2e88c5ad 100644 --- a/ot/mpz-ot/src/ideal/shared/cot.rs +++ b/ot/mpz-ot/src/ideal/shared/cot.rs @@ -114,7 +114,7 @@ mod tests { use super::*; #[tokio::test] - async fn test_ideal_ot() { + async fn test_ideal_cot_shared() { let mut rng = ChaCha12Rng::seed_from_u64(0); let values = Block::random_vec(&mut rng, 8); diff --git a/ot/mpz-ot/src/lib.rs b/ot/mpz-ot/src/lib.rs index 94be2dc6..697eb936 100644 --- a/ot/mpz-ot/src/lib.rs +++ b/ot/mpz-ot/src/lib.rs @@ -74,13 +74,13 @@ pub trait COTSender: ProtocolMessage where T: Send + Sync, { - /// Obliviously transfers the correlations to the receiver. + /// Obliviously transfers the correlated messages to the receiver. /// /// # Arguments /// /// * `sink` - The IO sink to the receiver. /// * `stream` - The IO stream from the receiver. - /// * `msgs` - The `0`-bit messages to obliviously transfer. + /// * `msgs` - The `0`-bit messages to use during the oblivious transfer. async fn send_correlated< Si: IoSink + Send + Unpin, St: IoStream + Send + Unpin, @@ -262,7 +262,7 @@ pub trait COTSenderShared { /// # Arguments /// /// * `id` - The unique identifier for this transfer. - /// * `msgs` - The `0`-bit messages to obliviously transfer. + /// * `msgs` - The `0`-bit messages to use during the oblivious transfer. async fn send_correlated(&self, id: &str, msgs: &[T]) -> Result<(), OTError>; }