Skip to content

Commit 8a67d70

Browse files
committed
fmt
1 parent 882701e commit 8a67d70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

salsa20/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -126,12 +126,12 @@ pub type XNonce = Array<u8, U24>;
126126
/// Number of 32-bit words in the Salsa20 state
127127
const STATE_WORDS: usize = 16;
128128

129-
/// State initialization constant for 32-byte keys ("expand 32-byte k")
130-
const CONSTANTS_32: [u32; 4] = [0x6170_7865, 0x3320_646e, 0x7962_2d32, 0x6b20_6574];
131-
132129
/// State initialization constant for 16-byte keys ("expand 16-byte k")
133130
const CONSTANTS_16: [u32; 4] = [0x6170_7865, 0x3120_646e, 0x7962_2d36, 0x6b20_6574];
134131

132+
/// State initialization constant for 32-byte keys ("expand 32-byte k")
133+
const CONSTANTS_32: [u32; 4] = [0x6170_7865, 0x3320_646e, 0x7962_2d32, 0x6b20_6574];
134+
135135
/// The Salsa20 core function.
136136
pub struct SalsaCore<R: Unsigned, KeySize = U32> {
137137
/// Internal state of the core function

0 commit comments

Comments
 (0)