aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcryptobox
diff options
context:
space:
mode:
authorAlexander Moisseev <moiseev@mezonplus.ru>2017-06-27 10:44:19 +0300
committerAlexander Moisseev <moiseev@mezonplus.ru>2017-06-27 10:44:19 +0300
commitbb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3 (patch)
treeec38b50c99765caed67aaf23db308b17cc407d5f /src/libcryptobox
parent146886df6d250a376b92d1bb615cb93679a7d6e8 (diff)
downloadrspamd-bb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3.tar.gz
rspamd-bb5a9f8e451bc206e78c9d4d03eb4cbdbef260b3.zip
[Minor] Massive spelling correction
by a bot https://github.com/ka7/misspell_fixer
Diffstat (limited to 'src/libcryptobox')
-rw-r--r--src/libcryptobox/blake2/blake2.c2
-rw-r--r--src/libcryptobox/chacha20/chacha.c2
-rw-r--r--src/libcryptobox/cryptobox.h6
-rw-r--r--src/libcryptobox/poly1305/poly1305.c2
-rw-r--r--src/libcryptobox/siphash/siphash.c2
5 files changed, 7 insertions, 7 deletions
diff --git a/src/libcryptobox/blake2/blake2.c b/src/libcryptobox/blake2/blake2.c
index fd99a0f93..bb681b5d3 100644
--- a/src/libcryptobox/blake2/blake2.c
+++ b/src/libcryptobox/blake2/blake2.c
@@ -64,7 +64,7 @@ BLAKE2B_DECLARE(x86)
BLAKE2B_DECLARE(ref)
#define BLAKE2B_GENERIC BLAKE2B_IMPL(0, "generic", ref)
-/* list implemenations from most optimized to least, with generic as the last entry */
+/* list implementations from most optimized to least, with generic as the last entry */
static const blake2b_impl_t blake2b_list[] = {
BLAKE2B_GENERIC,
#if defined(BLAKE2B_AVX)
diff --git a/src/libcryptobox/chacha20/chacha.c b/src/libcryptobox/chacha20/chacha.c
index 4bb2098a3..fad83e823 100644
--- a/src/libcryptobox/chacha20/chacha.c
+++ b/src/libcryptobox/chacha20/chacha.c
@@ -117,7 +117,7 @@ void chacha_init (chacha_state *S, const chacha_key *key,
state->leftover = 0;
}
-/* processes inlen bytes (can do partial blocks), handling input/ouput alignment */
+/* processes inlen bytes (can do partial blocks), handling input/output alignment */
static void
chacha_consume (chacha_state_internal *state,
const unsigned char *in, unsigned char *out, size_t inlen)
diff --git a/src/libcryptobox/cryptobox.h b/src/libcryptobox/cryptobox.h
index a5a27f403..5637c3468 100644
--- a/src/libcryptobox/cryptobox.h
+++ b/src/libcryptobox/cryptobox.h
@@ -127,7 +127,7 @@ void rspamd_cryptobox_encryptv_inplace (struct rspamd_cryptobox_segment *segment
/**
* Decrypt and verify data chunk inplace
* @param data data to decrypt
- * @param len lenght of data
+ * @param len length of data
* @param pk remote pubkey
* @param sk local privkey
* @param sig signature input
@@ -169,7 +169,7 @@ void rspamd_cryptobox_encryptv_nm_inplace (struct rspamd_cryptobox_segment *segm
/**
* Decrypt and verify data chunk inplace
* @param data data to decrypt
- * @param len lenght of data
+ * @param len length of data
* @param pk remote pubkey
* @param sk local privkey
* @param sig signature input
@@ -207,7 +207,7 @@ void rspamd_cryptobox_sign (guchar *sig, gsize *siglen_p,
* pubkey
* @param sig signature source
* @param m input message
- * @param mlen message lenght
+ * @param mlen message length
* @param pk public key for verification
* @return true if signature is valid, false otherwise
*/
diff --git a/src/libcryptobox/poly1305/poly1305.c b/src/libcryptobox/poly1305/poly1305.c
index 9e1eed04e..4adea30af 100644
--- a/src/libcryptobox/poly1305/poly1305.c
+++ b/src/libcryptobox/poly1305/poly1305.c
@@ -77,7 +77,7 @@ POLY1305_DECLARE(sse2)
POLY1305_DECLARE(ref)
#define POLY1305_GENERIC POLY1305_IMPL(0, "generic", ref)
-/* list implemenations from most optimized to least, with generic as the last entry */
+/* list implementations from most optimized to least, with generic as the last entry */
static const poly1305_impl_t poly1305_list[] =
{
POLY1305_GENERIC,
diff --git a/src/libcryptobox/siphash/siphash.c b/src/libcryptobox/siphash/siphash.c
index 7c5941a35..0c91ff7ab 100644
--- a/src/libcryptobox/siphash/siphash.c
+++ b/src/libcryptobox/siphash/siphash.c
@@ -48,7 +48,7 @@ SIPHASH_DECLARE(avx2)
#define SIPHASH_AVX2 SIPHASH_IMPL(CPUID_AVX2, "avx2", avx2)
#endif
-/* list implemenations from most optimized to least, with generic as the last entry */
+/* list implementations from most optimized to least, with generic as the last entry */
static const siphash_impl_t siphash_list[] = {
SIPHASH_GENERIC,
#if defined(SIPHASH_AVX2)