Skip to content
Snippets Groups Projects
Commit 3ddd17b2 authored by Mathias Tausig's avatar Mathias Tausig Committed by Mathias Tausig
Browse files

crypto: Fix typos in comments

parent a73c499b
No related branches found
No related tags found
No related merge requests found
...@@ -74,7 +74,7 @@ int chacha_init(chacha_ctx *ctx, ...@@ -74,7 +74,7 @@ int chacha_init(chacha_ctx *ctx,
* @details If you want to seek inside the cipher steam, then you have to * @details If you want to seek inside the cipher steam, then you have to
* update the clock in `ctx->state[13]:ctx->state[12]` manually. * update the clock in `ctx->state[13]:ctx->state[12]` manually.
* *
* @warning You need to re-initialized the context with a new nonce after 2^64 * @warning You need to re-initialize the context with a new nonce after 2^64
* encrypted blocks, or the keystream will repeat! * encrypted blocks, or the keystream will repeat!
* *
* @param[in,out] ctx The ChaCha context * @param[in,out] ctx The ChaCha context
...@@ -88,7 +88,7 @@ void chacha_keystream_bytes(chacha_ctx *ctx, void *x); ...@@ -88,7 +88,7 @@ void chacha_keystream_bytes(chacha_ctx *ctx, void *x);
* @details @p m is always the input regardless if it is the plaintext or ciphertext, * @details @p m is always the input regardless if it is the plaintext or ciphertext,
* and @p c vice verse. * and @p c vice verse.
* *
* @warning You need to re-initialized the context with a new nonce after 2^64 * @warning You need to re-initialize the context with a new nonce after 2^64
* encrypted blocks, or the keystream will repeat! * encrypted blocks, or the keystream will repeat!
* *
* @param[in,out] ctx The ChaCha context. * @param[in,out] ctx The ChaCha context.
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer, hereby * Joan Daemen, Michaël Peeters, Gilles Van Assche and Ronny Van Keer, hereby
* denoted as "the implementer". * denoted as "the implementer".
* *
* RIOT-OS adaptaion by Mathias Tausig * RIOT-OS adaptation by Mathias Tausig
* *
* This software is released under the Creative Commons CC0 1.0 license. * This software is released under the Creative Commons CC0 1.0 license.
* To the extent possible under law, the implementer has waived all copyright * To the extent possible under law, the implementer has waived all copyright
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment