mbox series

[0/4] crypto: rework implementation of encryption and auth code

Message ID 20170425014152.3112-1-dmitry.ereminsolenikov@linaro.org
Headers show
Series crypto: rework implementation of encryption and auth code | expand

Message

Dmitry Eremin-Solenikov April 25, 2017, 1:41 a.m. UTC
This is a copy of patchset at https://github.com/Linaro/odp/pull/11 .

The main goal of this patchset is to ease adding encryption and authentication
algorithms in future. Instead of using algorithm-specific OpenSSL API this
patchset switches odp_crypto.c to use generic EVP_* API for both enc/dec and
auth code.

Dmitry Eremin-Solenikov (4):
  validation: crypto: add tests for checking message digests
  validation: crypto: correct comment for HMAC-SHA-256 tests
  linux-generic: crypto: unify auth code
  linux-generic: crypto: switch to EVP interface for cipher algorithms

 .../linux-generic/include/odp_crypto_internal.h    |  30 +-
 platform/linux-generic/odp_crypto.c                | 358 +++++----------------
 test/common_plat/validation/api/crypto/crypto.h    |   6 +-
 .../validation/api/crypto/odp_crypto_test_inp.c    | 154 ++++++++-
 4 files changed, 229 insertions(+), 319 deletions(-)

-- 
2.11.0

Comments

Bill Fischofer April 26, 2017, 7:44 p.m. UTC | #1
For this series:

Reviewed-and-tested-by: Bill Fischofer <bill.fischofer@linaro.org>

On Mon, Apr 24, 2017 at 8:41 PM, Dmitry Eremin-Solenikov <
dmitry.ereminsolenikov@linaro.org> wrote:

> This is a copy of patchset at https://github.com/Linaro/odp/pull/11 .

>

> The main goal of this patchset is to ease adding encryption and

> authentication

> algorithms in future. Instead of using algorithm-specific OpenSSL API this

> patchset switches odp_crypto.c to use generic EVP_* API for both enc/dec

> and

> auth code.

>

> Dmitry Eremin-Solenikov (4):

>   validation: crypto: add tests for checking message digests

>   validation: crypto: correct comment for HMAC-SHA-256 tests

>   linux-generic: crypto: unify auth code

>   linux-generic: crypto: switch to EVP interface for cipher algorithms

>

>  .../linux-generic/include/odp_crypto_internal.h    |  30 +-

>  platform/linux-generic/odp_crypto.c                | 358

> +++++----------------

>  test/common_plat/validation/api/crypto/crypto.h    |   6 +-

>  .../validation/api/crypto/odp_crypto_test_inp.c    | 154 ++++++++-

>  4 files changed, 229 insertions(+), 319 deletions(-)

>

> --

> 2.11.0

>

>