Skip to content

added(docs): clarify base OT message security#50

Merged
robinhundt merged 1 commit intomainfrom
clarify-base-message-security
Feb 2, 2026
Merged

added(docs): clarify base OT message security#50
robinhundt merged 1 commit intomainfrom
clarify-base-message-security

Conversation

@robinhundt
Copy link
Owner

Based on the discussion in #48 this clarifies the message security of the CO15 base OT implementation using the terminology of MR19.

@robinhundt robinhundt requested a review from Copilot February 2, 2026 14:08
@robinhundt robinhundt force-pushed the clarify-base-message-security branch from 83e046c to b43a41f Compare February 2, 2026 14:08
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates documentation for the Simplest-OT base OT protocol implementation to clarify its message security properties using terminology from the MR19 paper, addressing discussion from issue #48.

Changes:

  • Enhanced module-level documentation to specify "uniform message security" guarantee
  • Added detailed inline comments explaining the seed commitment mechanism
  • Added citation links for both CO15 and MR19 papers

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

//! Simplest-OT base OT protocol by [[CO15](https://eprint.iacr.org/2015/267)] (malicious security).
//! Simplest-OT base OT protocol by [[CO15]] (malicious security).
//!
//! This module implements the Simplest OT protocol described in in [[CO15]]
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected duplicate word 'in in' to 'in'.

Suggested change
//! This module implements the Simplest OT protocol described in in [[CO15]]
//! This module implements the Simplest OT protocol described in [[CO15]]

Copilot uses AI. Check for mistakes.
let a = Scalar::random(&mut RngCompat(&mut self.rng));
let mut A = RISTRETTO_BASEPOINT_TABLE * &a;
// The usual CO15 protocol only provides receiver chosen message security.
// To ensure the OTs are uniformly distributed, the sender samples a random sees
Copy link

Copilot AI Feb 2, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'sees' to 'seed'.

Suggested change
// To ensure the OTs are uniformly distributed, the sender samples a random sees
// To ensure the OTs are uniformly distributed, the sender samples a random seed

Copilot uses AI. Check for mistakes.
Based on the discussion in #48 this clarifies the message security of
the CO15 base OT implementation using the terminology of MR19.
@robinhundt robinhundt force-pushed the clarify-base-message-security branch from b43a41f to e4d8ddc Compare February 2, 2026 14:10
@robinhundt robinhundt merged commit 1a2bd59 into main Feb 2, 2026
7 checks passed
@robinhundt robinhundt deleted the clarify-base-message-security branch February 2, 2026 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants