diff options
author | Anton Saraev <antonysaraev@gmail.com> | 2014-05-19 12:09:57 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-05-19 14:18:14 -0700 |
commit | 9435d3ace68afea0533954e69cf0f8569fb7dc42 (patch) | |
tree | 5bd4cda1610dadd697faee0e2539904d799ba8de /drivers/staging/skein/include/skein.h | |
parent | 3201b7f25e3b9843a4f475f7d61f0fbe8de3d208 (diff) | |
download | op-kernel-dev-9435d3ace68afea0533954e69cf0f8569fb7dc42.zip op-kernel-dev-9435d3ace68afea0533954e69cf0f8569fb7dc42.tar.gz |
staging: crypto: skein: rename enums
Linux Kernel use capitalized names for enum. To prepare skein
driver to mainline inclusion, we rename all enums to capitalized
names.
Signed-off-by: Anton Saraev <antonysaraev@gmail.com>
Reviewed-by: Jake Edge <jake@lwn.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/skein/include/skein.h')
-rw-r--r-- | drivers/staging/skein/include/skein.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/skein/include/skein.h b/drivers/staging/skein/include/skein.h index 09e96d6..8ecd720 100644 --- a/drivers/staging/skein/include/skein.h +++ b/drivers/staging/skein/include/skein.h @@ -293,7 +293,7 @@ int skein_1024_output(struct skein_1024_ctx *ctx, u8 *hash_val); ** Skein block function constants (shared across Ref and Opt code) ******************************************************************/ enum { - /* Skein_256 round rotation constants */ + /* SKEIN_256 round rotation constants */ R_256_0_0 = 14, R_256_0_1 = 16, R_256_1_0 = 52, R_256_1_1 = 57, R_256_2_0 = 23, R_256_2_1 = 40, @@ -303,7 +303,7 @@ enum { R_256_6_0 = 58, R_256_6_1 = 22, R_256_7_0 = 32, R_256_7_1 = 32, - /* Skein_512 round rotation constants */ + /* SKEIN_512 round rotation constants */ R_512_0_0 = 46, R_512_0_1 = 36, R_512_0_2 = 19, R_512_0_3 = 37, R_512_1_0 = 33, R_512_1_1 = 27, R_512_1_2 = 14, R_512_1_3 = 42, R_512_2_0 = 17, R_512_2_1 = 49, R_512_2_2 = 36, R_512_2_3 = 39, @@ -313,7 +313,7 @@ enum { R_512_6_0 = 25, R_512_6_1 = 29, R_512_6_2 = 39, R_512_6_3 = 43, R_512_7_0 = 8, R_512_7_1 = 35, R_512_7_2 = 56, R_512_7_3 = 22, - /* Skein1024 round rotation constants */ + /* SKEIN_1024 round rotation constants */ R1024_0_0 = 24, R1024_0_1 = 13, R1024_0_2 = 8, R1024_0_3 = 47, R1024_0_4 = 8, R1024_0_5 = 17, R1024_0_6 = 22, R1024_0_7 = 37, R1024_1_0 = 38, R1024_1_1 = 19, R1024_1_2 = 10, R1024_1_3 = 55, |