Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimplestOT: 1-out-of-2 Oblivious Transfer #371

Merged
merged 1 commit into from
Sep 14, 2022

Conversation

zhdllwyc
Copy link
Contributor

@zhdllwyc zhdllwyc commented Aug 29, 2022

Adds a 1-out-of-2 Oblivious transfer protocol.
Implements the SimplestOT by Chou, Orlandi (https://eprint.iacr.org/2015/267.pdf , the 1 out of 2 OT case).

@armfazh armfazh self-assigned this Aug 30, 2022
@armfazh armfazh added the new feature New functionality or module label Aug 30, 2022
@armfazh armfazh requested review from tanyav2 and bwesterb August 30, 2022 07:24
ot/simot/simotlocal.go Outdated Show resolved Hide resolved

const testSimOTCount = 100

func simOT(myGroup group.Group, sender *SenderSimOT, receiver *ReceiverSimOT, m0, m1 []byte, choice, index int) error {
Copy link
Contributor

Choose a reason for hiding this comment

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

it doesn't seem index is used, is it?

ot/simot/simotparty.go Outdated Show resolved Hide resolved
ot/simot/simotparty.go Outdated Show resolved Hide resolved
@zhdllwyc zhdllwyc mentioned this pull request Aug 30, 2022
@armfazh armfazh changed the title Simplest ot SimplestOT: 1-out-of-2 Oblivious Transfer Sep 14, 2022
@armfazh armfazh merged commit 6580354 into cloudflare:main Sep 14, 2022
@armfazh
Copy link
Contributor

armfazh commented Sep 14, 2022

Thanks @zhdllwyc for your contribution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature New functionality or module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants