Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Wim Lewis
nettle
Commits
9fadf064
Commit
9fadf064
authored
Feb 08, 2014
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chacha_crypt: Fixed block counter update.
parent
b99fd627
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
ChangeLog
ChangeLog
+4
-0
chacha-crypt.c
chacha-crypt.c
+1
-1
No files found.
ChangeLog
View file @
9fadf064
2014-02-08 Niels Möller <nisse@lysator.liu.se>
* chacha-crypt.c (chacha_crypt): Fixed block counter update.
2014-02-07 Niels Möller <nisse@lysator.liu.se>
* nettle.texinfo (ASCII encoding): Document that
...
...
chacha-crypt.c
View file @
9fadf064
...
...
@@ -60,7 +60,7 @@ chacha_crypt(struct chacha_ctx *ctx,
_chacha_core
(
x
,
ctx
->
state
,
CHACHA_ROUNDS
);
ctx
->
state
[
9
]
+=
(
++
ctx
->
state
[
8
]
==
0
);
ctx
->
state
[
13
]
+=
(
++
ctx
->
state
[
12
]
==
0
);
/* stopping at 2^70 length per nonce is user's responsibility */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment