mbox series

[API-NEXT,v5,00/23] Major cryptography code rework

Message ID 20170601090339.9313-1-dmitry.ereminsolenikov@linaro.org
Headers show
Series Major cryptography code rework | expand

Message

Dmitry Eremin-Solenikov June 1, 2017, 9:03 a.m. UTC
This is a cummulative patchset incorporating:
 - AAD/ auth_digest_len implementation
 - crypto engine working across packet segments
 - SHA-1/SHA-512 implementation
 - small fixes

GitHub bot did not send this serie for quite some time, so I'm sending it
manually. On GitHub exactly the same patch serie is visible as PR #34.


Dmitry Eremin-Solenikov (23):
  validation: crypto: explicitly pass auth_digest_len to crypto
    subsystem
  validation: crypto: explicitly pass AAD to crypto subsystem
  test: odp_crypto: update performance test to set auth_digest_length
  example: ipsec: set auth_digest_len
  linux-generic: crypto: use auth_digest_len when calculating HMACs
  linux-generic: crypto: add SHA* capabilities for full length digests
  linux-generic: crypto: update AES-GCM support to reflect aad and
    auth_digest_len
  linux-generic: crypto: remote extra memcpy in AES-GCM
  linux-generic: crypto: make AES-GCM thread safe
  linux-generic: crypto: explicitly disable padding for AES-GCM
  linux-generic: crypto: rewrite AES-CBC support using EVP functions
  linux-generic: crypto: rewrite 3DES-CBC support using EVP functions
  linux-generic: crypto: merge AES-CBC and 3DES-CBC support
  linux-generic: crypto: make HMAC work across segmented packets
  linux-generic: crypto: make en/decryption work across packet segments
  linux-generic: crypto: NULL session->next pointer on session
    allocation
  test: odp_crypto: bail out if odp_crypto_session_create failed
  crypto: linux-generic: add capabilities for CIPHER_NULL and AUTH_NULL
  validation: crypto: add tests for NULL cipher
  validation: crypto: add HMAC-SHA-1 test cases
  validation: crypto: add HMAC-SHA-512 test cases
  linux-generic: crypto: add SHA-1 authentication support
  linux-generic: crypto: add HMAC-SHA-512 authentication support

 example/ipsec/odp_ipsec_cache.c                    |   1 +
 .../linux-generic/include/odp_crypto_internal.h    |  17 +-
 platform/linux-generic/odp_crypto.c                | 628 +++++++++++----------
 test/common_plat/performance/odp_crypto.c          |  58 +-
 test/common_plat/validation/api/crypto/crypto.h    |   8 +-
 .../validation/api/crypto/odp_crypto_test_inp.c    | 417 ++++++++++++--
 .../validation/api/crypto/test_vectors.h           | 181 ++++--
 .../validation/api/crypto/test_vectors_len.h       |  18 +-
 8 files changed, 871 insertions(+), 457 deletions(-)

-- 
2.11.0

Comments

Savolainen, Petri (Nokia - FI/Espoo) June 1, 2017, 9:59 a.m. UTC | #1
Reviewed-by: Petri Savolainen <petri.savolainen@linaro.org>



> -----Original Message-----

> From: lng-odp [mailto:lng-odp-bounces@lists.linaro.org] On Behalf Of

> Dmitry Eremin-Solenikov

> Sent: Thursday, June 01, 2017 12:03 PM

> To: lng-odp@lists.linaro.org

> Subject: [lng-odp] [PATCH API-NEXT v5 00/23] Major cryptography code

> rework

> 

> This is a cummulative patchset incorporating:

>  - AAD/ auth_digest_len implementation

>  - crypto engine working across packet segments

>  - SHA-1/SHA-512 implementation

>  - small fixes

> 

> GitHub bot did not send this serie for quite some time, so I'm sending it

> manually. On GitHub exactly the same patch serie is visible as PR #34.

>