mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-01-10 14:08:09 -05:00
19 lines
328 B
Python
Executable File
19 lines
328 B
Python
Executable File
#!/usr/bin/env python3
|
|
|
|
import sys, os
|
|
sys.path.append(os.curdir)
|
|
|
|
from Compiler.program import Program, defaults
|
|
|
|
opts = defaults()
|
|
opts.ring = 64
|
|
|
|
prog = Program(['direct_compilation'], opts)
|
|
|
|
from Compiler.library import print_ln
|
|
from Compiler.types import sint
|
|
|
|
print_ln('%s', (sint(0) < sint(1)).reveal())
|
|
|
|
prog.finalize()
|