Re: [lng-odp] [API-NEXT 5/8] linux-generic: crypto: unify auth code

2017-03-09 Thread Dmitry Eremin-Solenikov
On 09.03.2017 17:15, Bill Fischofer wrote: > Checkpatch issue with this part: > > WARNING: Missing a blank line after declarations > #38: FILE: platform/linux-generic/include/odp_crypto_internal.h:66: > +uint32_t bytes; > +const EVP_MD *evp_md; > > total: 0 errors, 1 warnings, 0 checks, 205 lines

Re: [lng-odp] [API-NEXT 5/8] linux-generic: crypto: unify auth code

2017-03-09 Thread Bill Fischofer
Checkpatch issue with this part: WARNING: Missing a blank line after declarations #38: FILE: platform/linux-generic/include/odp_crypto_internal.h:66: + uint32_t bytes; + const EVP_MD *evp_md; total: 0 errors, 1 warnings, 0 checks, 205 lines checked NOTE: Ignored message types: BIT_MACRO COMPARIS

[lng-odp] [API-NEXT 5/8] linux-generic: crypto: unify auth code

2017-03-08 Thread Dmitry Eremin-Solenikov
Authentication code contains similar functions. Instead of replicating them further (e.g. for SHA-1 or SHA-3) factor out common code blocks, moving all difference to session data. Signed-off-by: Dmitry Eremin-Solenikov --- .../linux-generic/include/odp_crypto_internal.h| 14 +-- platform/li