cryptobiu/scapi — pull request #28 by moriyaw (2014-09-10 07:02:36+00:00)
Title: Free xor circuit security bug

Fixed issue #27.

enote the wires entering a gate as A and B, and denote the exit wire as C. Denote by T the gate number. All values are 128 bits long.
Instead of computing H(A+B+T) + (A+B+T) + C, (where + is the xor operation) now compute H( 2A+B/2+T) + (2A+B/2+T) + C.

Now the implementation is secure for free xor circuit also.