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

edaBits not working when using emulator #1546

Open
sebw42 opened this issue Dec 2, 2024 · 1 comment
Open

edaBits not working when using emulator #1546

sebw42 opened this issue Dec 2, 2024 · 1 comment

Comments

@sebw42
Copy link

sebw42 commented Dec 2, 2024

Hi, I tried to emulate a program that uses edaBits (compiled using ./compile.py -R 64 -Y), but I get the following error when I execute it with emulate.sh:

Using statistical security parameter 40
Trying to run 64-bit computation
Fatal error at program-EQZ(1)_63-1:1 (EDABIT): no edaBits

Does the emulator not support edaBits or do they need to be generated before starting emulate?
Here is an example program where the error occurs:

x = sint(1)
y = sint(2)
@if_((x==y).reveal())
def _():
    y.update(sint(3))
print_ln("%s", y.reveal())

Thank you!

@mkskeller
Copy link
Member

The emulator doesn't support edaBits.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants