Crate oblivious_transfer_protocols

Source
Expand description

§Oblivious Transfer (OT), Oblivious Transfer Extensions (OTE) and multi-party protocols based on that.

§Oblivious Transfer protocols

  1. Simplest OT protocol
  2. Naor Pinkas OT
  3. Endemic OT

§Oblivious Transfer Extensions

  1. ALSZ
  2. KOS

§Oblivious Transfer based multiplication

  1. DKLS18 - 2 party multiplication of where each party has a single input
  2. DKLS19 - 2 party batch-multiplication of where each party has multiple inputs, say n inputs and those inputs will be multiplied, i.e. a total of 2*n multiplications will be done with each being between 2 inputs

Modules§

base_ot
cointoss
Generate 1 or more random numbers using commit-and-release coin tossing. Called F_com in the paper Threshold BBS+ Signatures for Distributed Anonymous Credential Issuance
configs
error
ot_based_multiplication
2-party and multi-party multiplication protocols built on Oblivious Transfer (OT) 2-party and multi-party multiplication protocols built on Oblivious Transfer (OT)
ot_extensions
util
zero_sharing
Generate a secret sharing of 0. Does not use a trusted party or Shamir secret sharing. Called F_zero and described in section 3.1 in the paper Threshold BBS+ Signatures for Distributed Anonymous Credential Issuance

Structs§

BitMatrix
A bit matrix stored in row-major order, i.e. the first byte has the first 8 bits, second byte has next 8 bits, and so on.

Type Aliases§

Bit
Key
Message
ParticipantId