Linux cryptographic layer development
 help / color / mirror / Atom feed
* [PATCH v5 0/4] gf128mul refactoring
@ 2017-04-02 19:19 Ondrej Mosnacek
  2017-04-02 19:19 ` [PATCH v5 1/4] crypto: gf128mul - define gf128mul_x_* in gf128mul.h Ondrej Mosnacek
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Ondrej Mosnacek @ 2017-04-02 19:19 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Ondrej Mosnacek, David S. Miller, linux-crypto, Eric Biggers,
	Jeffrey Walton, Milan Broz

This patchset contains the following gf128mul-related changes:
  1. The gf128mul_x_* functions are moved to gf128mul.h for performance reasons.
  2. The gf128mul_x_ble function is fixed to use the correct block type.
  3. The le128_gf128mul_x_ble function from glue_helper.h is removed and its
     usages replaced with gf128mul_x_ble calls.
  4. The now obsolete dependency of CRYPTO_XTS on CRYPTO_GF128MUL is removed.

v4 -> v5: added the other three patches
v3 -> v4: a faster version of gf128mul_x_lle
v2 -> v3: constant-time implementation
v1 -> v2: move all _x_ functions to the header, not just gf128mul_x_ble

Ondrej Mosnacek (4):
  crypto: gf128mul - define gf128mul_x_* in gf128mul.h
  crypto: gf128mul - switch gf128mul_x_ble to le128
  crypto: glue_helper - remove the le128_gf128mul_x_ble function
  crypto: xts - drop gf128mul dependency

 arch/x86/crypto/camellia_glue.c           |  4 +--
 arch/x86/crypto/glue_helper.c             |  3 +-
 arch/x86/crypto/serpent_sse2_glue.c       |  4 +--
 arch/x86/crypto/twofish_glue_3way.c       |  4 +--
 arch/x86/include/asm/crypto/glue_helper.h | 10 ------
 crypto/Kconfig                            |  1 -
 crypto/gf128mul.c                         | 33 +------------------
 crypto/xts.c                              | 38 ++++++++++-----------
 include/crypto/gf128mul.h                 | 55 +++++++++++++++++++++++++++++--
 include/crypto/xts.h                      |  2 +-
 10 files changed, 82 insertions(+), 72 deletions(-)

-- 
2.9.3

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-04-05 14:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-02 19:19 [PATCH v5 0/4] gf128mul refactoring Ondrej Mosnacek
2017-04-02 19:19 ` [PATCH v5 1/4] crypto: gf128mul - define gf128mul_x_* in gf128mul.h Ondrej Mosnacek
2017-04-02 19:19 ` [PATCH v5 2/4] crypto: gf128mul - switch gf128mul_x_ble to le128 Ondrej Mosnacek
2017-04-02 19:19 ` [PATCH v5 3/4] crypto: glue_helper - remove the le128_gf128mul_x_ble function Ondrej Mosnacek
2017-04-02 19:19 ` [PATCH v5 4/4] crypto: xts - drop gf128mul dependency Ondrej Mosnacek
2017-04-05  4:13 ` [PATCH v5 0/4] gf128mul refactoring Eric Biggers
2017-04-05 14:11 ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox