aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/skein
diff options
context:
space:
mode:
authorJake Edge <jake@lwn.net>2014-05-20 08:00:33 -0600
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-05-21 11:17:42 +0900
commita82100e78cdf099f6c36fc4b0e2dc1b7d558f1db (patch)
tree0d2c616a662809b5d3955fe012d3bb5148a889dc /drivers/staging/skein
parentstaging/skein: move all threefish block functions to one file (diff)
downloadlinux-dev-a82100e78cdf099f6c36fc4b0e2dc1b7d558f1db.tar.xz
linux-dev-a82100e78cdf099f6c36fc4b0e2dc1b7d558f1db.zip
staging/skein: comment typos
fix some comment typos Signed-off-by: Jake Edge <jake@lwn.net> Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/skein')
-rw-r--r--drivers/staging/skein/threefish_api.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/drivers/staging/skein/threefish_api.h b/drivers/staging/skein/threefish_api.h
index 2fce154b59e5..8d5ddf8b3a9b 100644
--- a/drivers/staging/skein/threefish_api.h
+++ b/drivers/staging/skein/threefish_api.h
@@ -12,7 +12,7 @@
* follow the openSSL design but at the same time take care of some Threefish
* specific behaviour and possibilities.
*
- * These are the low level functions that deal with Threefisch blocks only.
+ * These are the low level functions that deal with Threefish blocks only.
* Implementations for cipher modes such as ECB, CFB, or CBC may use these
* functions.
*
@@ -77,9 +77,9 @@ void threefish_set_key(struct threefish_key *key_ctx,
u64 *key_data, u64 *tweak);
/**
- * Encrypt Threefisch block (bytes).
+ * Encrypt Threefish block (bytes).
*
- * The buffer must have at least the same length (number of bits) aas the
+ * The buffer must have at least the same length (number of bits) as the
* state size for this key. The function uses the first @c state_size bits
* of the input buffer, encrypts them and stores the result in the output
* buffer.
@@ -95,9 +95,9 @@ void threefish_encrypt_block_bytes(struct threefish_key *key_ctx, u8 *in,
u8 *out);
/**
- * Encrypt Threefisch block (words).
+ * Encrypt Threefish block (words).
*
- * The buffer must have at least the same length (number of bits) aas the
+ * The buffer must have at least the same length (number of bits) as the
* state size for this key. The function uses the first @c state_size bits
* of the input buffer, encrypts them and stores the result in the output
* buffer.
@@ -115,9 +115,9 @@ void threefish_encrypt_block_words(struct threefish_key *key_ctx, u64 *in,
u64 *out);
/**
- * Decrypt Threefisch block (bytes).
+ * Decrypt Threefish block (bytes).
*
- * The buffer must have at least the same length (number of bits) aas the
+ * The buffer must have at least the same length (number of bits) as the
* state size for this key. The function uses the first @c state_size bits
* of the input buffer, decrypts them and stores the result in the output
* buffer
@@ -133,9 +133,9 @@ void threefish_decrypt_block_bytes(struct threefish_key *key_ctx, u8 *in,
u8 *out);
/**
- * Decrypt Threefisch block (words).
+ * Decrypt Threefish block (words).
*
- * The buffer must have at least the same length (number of bits) aas the
+ * The buffer must have at least the same length (number of bits) as the
* state size for this key. The function uses the first @c state_size bits
* of the input buffer, encrypts them and stores the result in the output
* buffer.