Skip to contentSkip to conversation

Crypto Update for 2.6.17

DISCUSSION Herbert Xu 1 participant 2 messages Jun 26, 2006 – Jul 15, 2006 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

A message that is not in the archive (sent off-list or not yet received): [email protected]

Herbert Xu

author
#2 lore raw

Hi Linus:

This is a resend of a pull request for the crypto tree for 2.6.17. Let me know if there is anything you want me to fix up. I've rebased it against your latest git tree.

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git

or

master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git

It contains the following Crypto API changes which have been tested in mm for a while now:

Atsushi Nemoto:
[CRYPTO] khazad: Use 32-bit reads on key
[CRYPTO] digest: Add alignment handling

Herbert Xu:
[CRYPTO] aes-i586: Get rid of useless function wrappers [CRYPTO] digest: Remove unnecessary zeroing during init [CRYPTO] all: Pass tfm instead of ctx to algorithms [CRYPTO] padlock: Rearrange context structure to reduce code size [CRYPTO] api: Added cra_init/cra_exit
[CRYPTO] api: Removed const from cra_name/cra_driver_name [CRYPTO] api: Allow replacement when registering new algorithms [CRYPTO] aes: Add wrappers for assembly routines [CRYPTO] tcrypt: Forbid tcrypt from being built-in

Michal Ludvig:
[CRYPTO] api: Fixed incorrect passing of context instead of tfm [CRYPTO] tcrypt: Return -EAGAIN from module_init() [CRYPTO] tcrypt: Speed benchmark support for digest algorithms

 arch/i386/crypto/aes-i586-asm.S     |   29 ++---
 arch/i386/crypto/aes.c              |   20 ++--
 arch/i386/kernel/asm-offsets.c      |    3 
 arch/s390/crypto/aes_s390.c         |   14 +-
 arch/s390/crypto/des_s390.c         |   42 ++++----
 arch/s390/crypto/sha1_s390.c        |   34 +++---
 arch/s390/crypto/sha256_s390.c      |   14 +-
 arch/x86_64/crypto/aes-x86_64-asm.S |   22 ++--
 arch/x86_64/crypto/aes.c            |   20 +++-
 arch/x86_64/kernel/asm-offsets.c    |    3 
 crypto/Kconfig                      |    2 
 crypto/aes.c                        |   14 +-
 crypto/anubis.c                     |   13 +-
 crypto/api.c                        |   17 ++-
 crypto/arc4.c                       |    9 +
 crypto/blowfish.c                   |   19 ++-
 crypto/cast5.c                      |   14 +-
 crypto/cast6.c                      |   15 +--
 crypto/cipher.c                     |   14 +-
 crypto/compress.c                   |   15 ---
 crypto/crc32c.c                     |   19 ++-
 crypto/crypto_null.c                |   17 +--
 crypto/deflate.c                    |   23 ++--
 crypto/des.c                        |   27 +++--
 crypto/digest.c                     |   51 ++++++----
 crypto/khazad.c                     |   21 ++--
 crypto/md4.c                        |   12 +-
 crypto/md5.c                        |   12 +-
 crypto/michael_mic.c                |   20 ++--
 crypto/serpent.c                    |   27 +++--
 crypto/sha1.c                       |   18 ++-
 crypto/sha256.c                     |   19 ++-
 crypto/sha512.c                     |   29 ++---
 crypto/tcrypt.c                     |  179 +++++++++++++++++++++++++++++++++++-
 crypto/tcrypt.h                     |   36 +++++++
 crypto/tea.c                        |   55 +++++------
 crypto/tgr192.c                     |   33 +++---
 crypto/twofish.c                    |   14 +-
 crypto/wp512.c                      |   24 ++--
 drivers/crypto/padlock-aes.c        |   39 +++----
 include/linux/crypto.h              |   34 +++---
 41 files changed, 648 insertions(+), 394 deletions(-)

Thanks,

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
author
#3 lore raw

Crypto Bug Fix for 2.6.18

Hi Linus:

Please pull from

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git

or

master.kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git

It contains an important bug fix for padlock that's a new regression since 2.6.17.

Michal Ludvig:
[CRYPTO] padlock: Fix alignment after aes_ctx rearrange

 padlock-aes.c |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

Thanks,

Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt