From 3ddd17b2671ad87323fc91c8e34c824d1c2b1efe Mon Sep 17 00:00:00 2001 From: Mathias Tausig <mathias@tausig.at> Date: Sat, 13 Oct 2018 23:04:44 +0200 Subject: [PATCH] crypto: Fix typos in comments --- sys/include/crypto/chacha.h | 4 ++-- sys/include/hashes/sha3.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/include/crypto/chacha.h b/sys/include/crypto/chacha.h index 5e01aa6339..398fd24c9d 100644 --- a/sys/include/crypto/chacha.h +++ b/sys/include/crypto/chacha.h @@ -74,7 +74,7 @@ int chacha_init(chacha_ctx *ctx, * @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. * - * @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! * * @param[in,out] ctx The ChaCha context @@ -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, * 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! * * @param[in,out] ctx The ChaCha context. diff --git a/sys/include/hashes/sha3.h b/sys/include/hashes/sha3.h index 350924b171..bc1b9e2d7c 100644 --- a/sys/include/hashes/sha3.h +++ b/sys/include/hashes/sha3.h @@ -3,7 +3,7 @@ * Joan Daemen, Michaƫl Peeters, Gilles Van Assche and Ronny Van Keer, hereby * 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. * To the extent possible under law, the implementer has waived all copyright -- GitLab