All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ard Biesheuvel <ard.biesheuvel@linaro.org>
To: linux-crypto@vger.kernel.org, herbert@gondor.apana.org.au
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Subject: [RFC PATCH 0/3] reworked ccm(aes) using blkcipher walk API
Date: Tue, 25 Feb 2014 13:57:49 +0100	[thread overview]
Message-ID: <1393333072-15310-1-git-send-email-ard.biesheuvel@linaro.org> (raw)

As suggested by Herbert, this is another approach to using the blkcipher walk
API from a context where no [a]blkcipher transform instance exists.

I have copied some data that is retrieved from the transform into the
blkcipher_walk struct, and added alternative blkcipher init and walk functions
that allow these data member (iv size, alignmask, etc) to be supplied directly.

Suggestions for better names than blkcipher_walk_init_raw and
blkcipher_walk_virt_raw are highly appreciated.


Ard Biesheuvel (3):
  crypto: remove direct blkcipher_walk dependency on transform
  crypto: allow blkcipher walks with no associated blkcipher transform
  arm64: add support for AES in CCM mode using Crypto Extensions

 arch/arm64/Makefile                |   1 +
 arch/arm64/crypto/Makefile         |  12 ++
 arch/arm64/crypto/aesce-ccm-core.S | 222 +++++++++++++++++++++++++++
 arch/arm64/crypto/aesce-ccm-glue.c | 301 +++++++++++++++++++++++++++++++++++++
 crypto/blkcipher.c                 |  76 +++++-----
 include/crypto/algapi.h            |  25 ++-
 6 files changed, 602 insertions(+), 35 deletions(-)
 create mode 100644 arch/arm64/crypto/Makefile
 create mode 100644 arch/arm64/crypto/aesce-ccm-core.S
 create mode 100644 arch/arm64/crypto/aesce-ccm-glue.c

-- 
1.8.3.2

             reply	other threads:[~2014-02-25 12:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-25 12:57 Ard Biesheuvel [this message]
2014-02-25 12:57 ` [RFC PATCH 1/3] crypto: remove direct blkcipher_walk dependency on transform Ard Biesheuvel
2014-02-25 12:57 ` [RFC PATCH 2/3] crypto: allow blkcipher walks with no associated blkcipher transform Ard Biesheuvel
2014-02-25 12:57 ` [RFC PATCH 3/3] arm64: add support for AES in CCM mode using Crypto Extensions Ard Biesheuvel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1393333072-15310-1-git-send-email-ard.biesheuvel@linaro.org \
    --to=ard.biesheuvel@linaro.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.