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

eclib: no matching operator, named `VMOVSHDUP_4u64' #301

Closed
tfaoliveira opened this issue Nov 29, 2022 · 2 comments · Fixed by #303
Closed

eclib: no matching operator, named `VMOVSHDUP_4u64' #301

tfaoliveira opened this issue Nov 29, 2022 · 2 comments · Fixed by #303
Assignees
Labels
bug EasyCrypt extraction and model

Comments

@tfaoliveira
Copy link
Member

I'm integrating this implementation in libjade.

When checking the extracted file with easycrypt I get the following error:

[critical] [sign_s.ec: line 2564 (14-28)] no matching operator, named `VMOVSHDUP_4u64', for the following parameters' type:
  [1]: W256.t
[-] [5972] 100.0 % (-1.0B / [frag -1.0B])

It seems that a def. for VMOVSHDUP_4u64 is missing in JModel.ec around line 673.

@vbgl
Copy link
Member

vbgl commented Nov 30, 2022

That’s unfortunate, but the VMOVSHDUP_4u64 has no semantics in Jasmin. For the time being, you can rename it into …_8u32.
IMHO, this syntactic flexibility (many variants are accepted by the parser, but only a few make sense) is misleading, hence the related PR. What do you think?

@tfaoliveira
Copy link
Member Author

I think it's OK. Once PR is merged, I can update the libajde code. Thanks.

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

Successfully merging a pull request may close this issue.

2 participants