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

Switch Lotus formats to bitslice implementation #5451

Open
solardiz opened this issue Mar 14, 2024 · 0 comments
Open

Switch Lotus formats to bitslice implementation #5451

solardiz opened this issue Mar 14, 2024 · 0 comments

Comments

@solardiz
Copy link
Member

Sovyn Y. has just generated the corresponding S-box expressions, which we should make use of. The gate counts are large (because the S-boxes are large), but going from 8-bit to 512-bit I expect good speedup anyway. Scalar 32- and 64-bit and maybe even 128-bit SIMD could still be faster with the current explicit 8-bit lookups - so we could potentially need to keep the old code as well? - but we should implement and benchmark first.

The affected files are:

src/DOMINOSEC8_fmt_plug.c
src/DOMINOSEC_fmt_plug.c
src/lotus5_fmt_plug.c
src/lotus85_fmt_plug.c
run/opencl/lotus5_kernel.cl

I set this to the "definitely" milestone because it'd be a pity not to make use of the already started work, but I'm actually not sure we'll take care of all 5 above.

@solardiz solardiz added this to the Definitely 2.0.0 milestone Mar 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant