Skip to content
Discussion options

You must be logged in to vote

Hi @Moh-Gebril,

With CLAASP you cannot directly create a cipher object that mixes the key schedule of one cipher with the round function of another. To do this, you’d need to either:

  1. Manually implement a new cipher class, reusing the Chacha and the other cipher’s components, or
  2. Use an alternative approach where you let Chacha generate round keys and feed those into the second cipher. I will give more details below.

Using Chacha as a round-key generator

If you want to use the Chacha permutation to derive round keys, here’s how:

  • Load the master key into the Chacha state.
  • Each Chacha round produces an output that you can use as a round key.
  • Pass these precomputed round keys into another …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Moh-Gebril
Comment options

You must be logged in to vote
0 replies
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