Newsgroups: sci.crypt
From: d...@taverner.cs.berkeley.edu (David Wagner)
Date: Mon, 26 Sep 2005 09:44:44 +0000 (UTC)
Local: Mon, Sep 26 2005 5:44 am
Subject: Re: Re-rolled Salsa20 function
Paul Rubin wrote: Interesting. It sounds like we can view each pair of double-rounds > for (i = 20; i > 0; i -= 2) { > for (r=0; r<4; r++) > for (c=0; c<4; c++) > XX(r+c+1,r) ^= R(XX(r+c,r) + XX(r+c+3, r), z[c]); > for (r=0; r<4; r++) >Notice how the second half of each double round is the same as the as a single-round, followed by a 'matrix transpose', followed by another single-round (the same as the first), followed by another matrix transpose. In other words, we can equivalently view it as 20 iterations of single-round + transpose, like this: for (i = 20; i > 0; i--) { for (r=0; r<4; r++) for (c=0; c<4; c++) XX(r+c+1,r) ^= R(XX(r+c,r) + XX(r+c+3, r), z[c]); XX = transpose(XX); If this is right, then I notice that there doesn't seem to be any For instance, suppose that U[] is one input, and V[] is another input As another example, suppose that X is such that every word of X is the Similarly, there is a differential characteristic of probability one for This all makes clear that the salsa20 hash should not be used as a You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||