mirror of
https://github.com/data61/MP-SPDZ.git
synced 2026-04-20 03:01:31 -04:00
8 lines
175 B
Python
8 lines
175 B
Python
@export
|
|
def b2a(res, x):
|
|
print_ln('x=%s', x.reveal())
|
|
res[:] = sint(x[:])
|
|
print_ln('res=%s', x.reveal())
|
|
|
|
b2a(sint.Array(size=10), sbitvec.get_type(16).Array(10))
|