Skip to content

Commit 0dd90b3

Browse files
committed
Merge branch 'dev'
2 parents 7efe454 + f6c12c7 commit 0dd90b3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

doc/files/salsa20.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h3>Parameters:</h3>
126126
</li>
127127

128128
<li>
129-
<code><em>rounds</em></code>: Optional number of rounds. My be 20 (default), 12, or 8.
129+
<code><em>rounds</em></code>: Optional number of rounds. May be 20 (default), 12, or 8.
130130
</li>
131131

132132
</ul>
@@ -167,7 +167,7 @@ <h3>Parameters:</h3>
167167
</li>
168168

169169
<li>
170-
<code><em>rounds</em></code>: Optional number of rounds. My be 20 (default), 12, or 8.
170+
<code><em>rounds</em></code>: Optional number of rounds. May be 20 (default), 12, or 8.
171171
</li>
172172

173173
</ul>
@@ -208,7 +208,7 @@ <h3>Parameters:</h3>
208208
</li>
209209

210210
<li>
211-
<code><em>rounds</em></code>: Optional number of rounds. My be 20 (default), 12, or 8.
211+
<code><em>rounds</em></code>: Optional number of rounds. May be 20 (default), 12, or 8.
212212
</li>
213213

214214
</ul>
@@ -249,7 +249,7 @@ <h3>Parameters:</h3>
249249
</li>
250250

251251
<li>
252-
<code><em>rounds</em></code>: Optional number of rounds. My be 20 (default), 12, or 8.
252+
<code><em>rounds</em></code>: Optional number of rounds. May be 20 (default), 12, or 8.
253253
</li>
254254

255255
</ul>
@@ -290,7 +290,7 @@ <h3>Parameters:</h3>
290290
</li>
291291

292292
<li>
293-
<code><em>rounds</em></code>: Optional number of rounds. My be 20 (default), 12, or 8.
293+
<code><em>rounds</em></code>: Optional number of rounds. May be 20 (default), 12, or 8.
294294
</li>
295295

296296
</ul>

salsa20.lua

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ end
153153
-- @param k A 16-byte or 32-byte sequence representing the secret key.
154154
-- @param v An 8-byte sequence representing the nonce.
155155
-- @param i An 8-byte sequence representing the stream position of the 64-byte block.
156-
-- @param rounds Optional number of rounds. My be 20 (default), 12, or 8.
156+
-- @param rounds Optional number of rounds. May be 20 (default), 12, or 8.
157157
-- @return A 64-byte output block.
158158
function salsa20.generate(k, v, i, rounds)
159159
assert(#k == 16 or #k == 32)
@@ -171,7 +171,7 @@ end
171171
-- @param key A 16-octet or 32-octet bytestring.
172172
-- @param nonce An 8-octet bytestring nonce.
173173
-- @param plaintext The unencrypted message.
174-
-- @param rounds Optional number of rounds. My be 20 (default), 12, or 8.
174+
-- @param rounds Optional number of rounds. May be 20 (default), 12, or 8.
175175
-- @return The encrypted message.
176176
function salsa20.encrypt(key, nonce, plaintext, rounds)
177177
assert(type(key) == "string" and (key:len() == 16 or key:len() == 32))
@@ -199,7 +199,7 @@ end
199199
-- @param key A 16-octet or 32-octet bytestring.
200200
-- @param nonce An 8-octet bytestring nonce.
201201
-- @param ciphertext The encrypted message.
202-
-- @param rounds Optional number of rounds. My be 20 (default), 12, or 8.
202+
-- @param rounds Optional number of rounds. May be 20 (default), 12, or 8.
203203
-- @return The unencrypted message.
204204
function salsa20.decrypt(key, nonce, ciphertext, rounds)
205205
-- The easiest thing I've done all week.
@@ -210,7 +210,7 @@ end
210210
-- @param key A 16-octet or 32-octet bytestring.
211211
-- @param nonce An 8-octet bytestring nonce.
212212
-- @param plaintext The unencrypted messages.
213-
-- @param rounds Optional number of rounds. My be 20 (default), 12, or 8.
213+
-- @param rounds Optional number of rounds. May be 20 (default), 12, or 8.
214214
-- @return The encrypted messages.
215215
function salsa20.encrypt_table(key, nonce, plaintext, rounds)
216216
assert(type(key) == "string" and (key:len() == 16 or key:len() == 32))
@@ -242,7 +242,7 @@ end
242242
-- @param key A 16-octet or 32-octet bytestring.
243243
-- @param nonce An 8-octet bytestring nonce.
244244
-- @param ciphertext The encrypted messages.
245-
-- @param rounds Optional number of rounds. My be 20 (default), 12, or 8.
245+
-- @param rounds Optional number of rounds. May be 20 (default), 12, or 8.
246246
-- @return The unencrypted messages.
247247
function salsa20.decrypt_table(key, nonce, ciphertext, rounds)
248248
-- The second easiest thing I've done all week.

0 commit comments

Comments
 (0)