OT ⇒ String OT
Statement
Let be an OT whose message space contains two distinct messages that an efficient algorithm outputs on input , independently of , as does with . Let with be computable from in polynomial time. The protocol has the setup of ; on sender input and choice bit it runs executions of in parallel under one with independent coins, the -th on sender input and choice bit ; the receiver outputs the with its output in the -th execution, and if some output is neither nor . Then , which has the round complexity of , is an OT for strings of length : it is -correct when is -correct, and for every efficient against its sender privacy, respectively its receiver privacy, there is an efficient with
— folklore. Every OT with such a message space therefore yields a string OT.
Sketch
Correctness is a union bound over the executions. For sender privacy, let output and the pairs , with , and let hybrid , for , run executions on the bits of and the others on the bits of , so that and are the two worlds of the game for . runs on its , samples , submits with the pairs and , which agree at position , runs the other executions itself under , those before on the bits of and those after on the bits of , and gives the receiver views; it simulates in world and in world , so the differences telescope. For receiver privacy, uses choice bit in executions and in the others, and embeds its challenge execution at a uniform in the same way.
Notes
- Conversely, a string OT at length is an OT on bits (String OT ⇒ OT) — folklore.
- Correctness of fixes its messages before is sampled, so the encoding may not depend on : a perfectly correct OT whose receiver also outputs exactly when its output equals a uniform message published in keeps both privacy properties and is -correct, yet fails with probability under the encoding — standard.
- The argument uses that both parties follow the protocol. For , does not have malicious security, whatever is: a receiver that runs with choice bit in the first execution and in the second learns and , while a simulator obtains one of from and must guess a bit of the other — standard.