Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Brian Smith
nettle
Commits
9fadf064
Commit
9fadf064
authored
Feb 08, 2014
by
Niels Möller
Browse files
chacha_crypt: Fixed block counter update.
parent
b99fd627
Changes
2
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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