X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=kernel%2Fdrivers%2Fstaging%2Fskein%2Fskein_api.h;fp=kernel%2Fdrivers%2Fstaging%2Fskein%2Fskein_api.h;h=5df7905825da5dcae87fc331dd2cc454a3e0395f;hb=e09b41010ba33a20a87472ee821fa407a5b8da36;hp=171b87549548fa3f73fe16cb3b579f48d4347830;hpb=f93b97fd65072de626c074dbe099a1fff05ce060;p=kvmfornfv.git diff --git a/kernel/drivers/staging/skein/skein_api.h b/kernel/drivers/staging/skein/skein_api.h index 171b87549..5df790582 100644 --- a/kernel/drivers/staging/skein/skein_api.h +++ b/kernel/drivers/staging/skein/skein_api.h @@ -1,28 +1,28 @@ -/* -Copyright (c) 2010 Werner Dittmann - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. +/** + * Copyright (c) 2010 Werner Dittmann + * + * Permission is hereby granted, free of charge, to any person + * obtaining a copy of this software and associated documentation + * files (the "Software"), to deal in the Software without + * restriction, including without limitation the rights to use, + * copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the + * Software is furnished to do so, subject to the following + * conditions: + * + * The above copyright notice and this permission notice shall be + * included in all copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, + * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES + * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND + * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT + * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, + * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING + * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR + * OTHER DEALINGS IN THE SOFTWARE. -*/ + */ #ifndef SKEINAPI_H #define SKEINAPI_H @@ -121,7 +121,7 @@ struct skein_ctx { * @param size * Which Skein size to use. * @return - * SKEIN_SUCESS of SKEIN_FAIL + * SKEIN_SUCCESS of SKEIN_FAIL */ 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 * Number of MAC hash bits to compute * @return - * SKEIN_SUCESS of SKEIN_FAIL + * SKEIN_SUCCESS of SKEIN_FAIL * @see skein_reset */ int skein_init(struct skein_ctx *ctx, size_t hash_bit_len); @@ -171,7 +171,7 @@ void skein_reset(struct skein_ctx *ctx); * @param hash_bit_len * Number of MAC hash bits to compute * @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, size_t hash_bit_len);