On 27/01/14 06:33 AM, Billy Brumley wrote:
I think the fact that, in the reference code, input[12] and input[13]
are contiguous is throwing you off. The spec really just talks about
bytes:
http://cr.yp.to/snuffle/spec.pdf
- Sec 10 Here i is the unique 8-byte sequence ...
- Then see how
Has anyone implemented Salsa/ChaCha hereabouts?
I'm looking at the blockcounter and I have a doubt... It is an 8byte
block, and as the reference code works in u32s, it converts it as two
4-byte quantities to two 4-byte ints (u32s) in a platform independent
fashion (controlling each for
I think the fact that, in the reference code, input[12] and input[13]
are contiguous is throwing you off. The spec really just talks about
bytes:
http://cr.yp.to/snuffle/spec.pdf
- Sec 10 Here i is the unique 8-byte sequence ...
- Then see how that looks like in Sec 9 (e.g. Example 2)
- Then Sec