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/skeinApi.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/skeinApi.h')
-rw-r--r-- | drivers/staging/skein/include/skeinApi.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/skein/include/skeinApi.h b/drivers/staging/skein/include/skeinApi.h index 850d5c9..b4e879d 100644 --- a/drivers/staging/skein/include/skeinApi.h +++ b/drivers/staging/skein/include/skeinApi.h @@ -50,7 +50,7 @@ OTHER DEALINGS IN THE SOFTWARE. * struct skein_ctx ctx; // a Skein hash or MAC context * * // prepare context, here for a Skein with a state size of 512 bits. - * skein_ctx_prepare(&ctx, Skein512); + * skein_ctx_prepare(&ctx, SKEIN_512); * * // Initialize the context to set the requested hash length in bits * // here request a output hash size of 31 bits (Skein supports variable @@ -85,9 +85,9 @@ OTHER DEALINGS IN THE SOFTWARE. * Which Skein size to use */ enum skein_size { - Skein256 = 256, /*!< Skein with 256 bit state */ - Skein512 = 512, /*!< Skein with 512 bit state */ - Skein1024 = 1024 /*!< Skein with 1024 bit state */ + SKEIN_256 = 256, /*!< Skein with 256 bit state */ + SKEIN_512 = 512, /*!< Skein with 512 bit state */ + SKEIN_1024 = 1024 /*!< Skein with 1024 bit state */ }; /** |