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

Paper of Interest #19

Open
richs27 opened this issue Mar 4, 2023 · 1 comment
Open

Paper of Interest #19

richs27 opened this issue Mar 4, 2023 · 1 comment
Assignees

Comments

@richs27
Copy link

richs27 commented Mar 4, 2023

Hi Marcus,

Thought you might like this:

Bitsliced Implementation of Non-Algebraic 8 × 8Cryptographic S-Boxes Using x86-64 ProcessorSIMD Instructions

https://www.semanticscholar.org/paper/Bitsliced-Implementation-of-Non-Algebraic-8×8-Using-Sovyn-Khoma/2346f7dcd1fd74c3952eee5f1096de9202a5f8b5

@dansarie Updated 3 May 2024
Further to the above paper, I downloaded the sboxes and run logs of the ternary examples illustrated in the paper and was surprised to find the time taken to generate Sbox0, an 8x8 bit one with 209 ternary instructions, was 6 hours 10min.
I made contact with one of the authors, to find out how much resource was engaged in this task.

I was told a single 4 core CPU, which threw me. He also pointed me to another paper they have done, refining the heuristics used, which further reduces the LUT count to 178, in about the same time, but using GPU for the searches. This paper is here: https://elibrary.kubg.edu.ua/id/eprint/45690/1/Y_Sovyn_V_Khoma_I_Opirskyy_V_Kozachok_3421_CPITS.pdf

Certainly food for thought.

@dansarie
Copy link
Owner

Sorry for the late response. The algorithm currently used by the program is definitely not the most efficient one possible, both in terms of time and solution size. One day, when time allows, I hope to be able to implement a more efficient algorithm.

@dansarie dansarie self-assigned this Oct 22, 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

2 participants