Commit 20ba4581 authored by Colin Cronin's avatar Colin Cronin Committed by Greg Kroah-Hartman

Drivers: staging: skein: skein_api: Fixed spelling errors

Fixed a few spelling errors in comments.
Signed-off-by: default avatarColin Cronin <colinpatrickcronin@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 79603862
...@@ -121,7 +121,7 @@ struct skein_ctx { ...@@ -121,7 +121,7 @@ struct skein_ctx {
* @param size * @param size
* Which Skein size to use. * Which Skein size to use.
* @return * @return
* SKEIN_SUCESS of SKEIN_FAIL * SKEIN_SUCCESS of SKEIN_FAIL
*/ */
int skein_ctx_prepare(struct skein_ctx *ctx, enum skein_size size); int skein_ctx_prepare(struct skein_ctx *ctx, enum skein_size size);
...@@ -136,7 +136,7 @@ int skein_ctx_prepare(struct skein_ctx *ctx, enum skein_size size); ...@@ -136,7 +136,7 @@ int skein_ctx_prepare(struct skein_ctx *ctx, enum skein_size size);
* @param hash_bit_len * @param hash_bit_len
* Number of MAC hash bits to compute * Number of MAC hash bits to compute
* @return * @return
* SKEIN_SUCESS of SKEIN_FAIL * SKEIN_SUCCESS of SKEIN_FAIL
* @see skein_reset * @see skein_reset
*/ */
int skein_init(struct skein_ctx *ctx, size_t hash_bit_len); int skein_init(struct skein_ctx *ctx, size_t hash_bit_len);
...@@ -171,7 +171,7 @@ void skein_reset(struct skein_ctx *ctx); ...@@ -171,7 +171,7 @@ void skein_reset(struct skein_ctx *ctx);
* @param hash_bit_len * @param hash_bit_len
* Number of MAC hash bits to compute * Number of MAC hash bits to compute
* @return * @return
* SKEIN_SUCESS of SKEIN_FAIL * SKEIN_SUCCESS of SKEIN_FAIL
*/ */
int skein_mac_init(struct skein_ctx *ctx, const u8 *key, size_t key_len, int skein_mac_init(struct skein_ctx *ctx, const u8 *key, size_t key_len,
size_t hash_bit_len); size_t hash_bit_len);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment