Module ocelot::ot

source ·
Expand description

Oblivious transfer traits + instantiations.

This module provides traits for standard oblivious transfer (OT), correlated OT, and random OT, alongside implementations of the following OT protocols:

  • dummy: a dummy and completely insecure OT for testing purposes.
  • naor_pinkas: Naor-Pinkas semi-honest OT.
  • chou_orlandi: Chou-Orlandi malicious OT.
  • alsz: Asharov-Lindell-Schneider-Zohner semi-honest OT extension (+ correlated and random OT).
  • kos: Keller-Orsini-Scholl malicious OT extension (+ correlated and random OT).

Modules§

Traits§

  • Trait for one-out-of-two correlated oblivious transfer from the receiver’s point-of-view.
  • Trait for one-out-of-two correlated oblivious transfer from the sender’s point-of-view.
  • Trait for initializing an oblivious transfer object with a fixed key.
  • Trait for one-out-of-two random oblivious transfer from the receiver’s point-of-view.
  • Trait for one-out-of-two random oblivious transfer from the sender’s point-of-view.
  • Trait for one-out-of-two oblivious transfer from the receiver’s point-of-view.
  • Trait for one-out-of-two oblivious transfer from the sender’s point-of-view.

Type Aliases§

  • Instantiation of the ALSZ OT extension receiver, using Chou-Orlandi as the base OT.
  • Instantiation of the ALSZ OT extension sender, using Chou-Orlandi as the base OT.
  • Instantiation of the Chou-Orlandi OT receiver.
  • Instantiation of the Chou-Orlandi OT sender.
  • Instantiation of the dummy OT receiver.
  • Instantiation of the dummy OT sender.
  • Instantiation of the KOS Delta-OT extension receiver, using Chou-Orlandi as the base OT.
  • Instantiation of the KOS Delta-OT extension sender, using Chou-Orlandi as the base OT.
  • Instantiation of the KOS OT extension receiver, using Chou-Orlandi as the base OT.
  • Instantiation of the KOS OT extension sender, using Chou-Orlandi as the base OT.
  • Instantiation of the Naor-Pinkas OT receiver.
  • Instantiation of the Naor-Pinkas OT sender.