Skip to content
Discussion options

You must be logged in to vote

Hi @Moh-Gebril, thanks for your question!
Unfortunately, CLAASP does not support the feature you are requesting directly. In CLAASP, the S-box component is defined by a list of integers (in the case of AES, 256 integers) representing the S-box permutation. Each S-box takes one input (the input to the S-box) and returns its output. To perform what you are asking, the S-box should also take a second input, depending on the plaintext (or something else), that selects the desired S-box.
To implement a dynamic S-box selection, you need to build the "selector" circuit that selects the S-box. This can be done in multiple ways, and, ultimately, it depends on how you would like to implement the de…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Moh-Gebril
Comment options

Answer selected by Moh-Gebril
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants