-
Notifications
You must be signed in to change notification settings - Fork 83
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
xperm.* variations. #44
Comments
- Originally, the crypto spec only contained the nibble-wise versions of xperm - when it was called LUT4, before bitmanip TG took ownership. - When it moved to Bitmanip, I included the byte and halfword versions of the instruction in the crypto TG spec, and they shouldn't have been without some more work to determine if they are useful. - *if* they are useful, they can be added back in. - See #44 On branch dev/next-release Your branch is up-to-date with 'origin/dev/next-release'. Changes to be committed: modified: doc/tex/sec-scalar-bitmanip.tex Changes not staged for commit: modified: extern/riscv-gnu-toolchain (modified content) modified: extern/riscv-isa-sim (modified content)
If I understand correctly, the byte variant would be helpful in computing a LUT8. I can see this being useful for crypto., esp. when computing masked 8-bit S-boxes for the purpose of DPA hardening. |
Interestingly, Claire put together an example where you only need the 4-bit ( Looking at that again though, I realise that we might have a glaring omission: the I'll probably raise this in the next meeting or put an email out in the meanwhile. Happily, Edit:
|
Decided at meeting on 10'th Sept 2020 - |
Context:
lut4
instruction, which did nibble-wise lookups on values in registers and is very useful for small SBoxes or permutations.xperm
, and added byte and halfword variants as well.Action:
dev/next-release
branch for now.The text was updated successfully, but these errors were encountered: