[RFC PATCH 0/3] take 2: repurposing blkcipher walk api for aead

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I think this is a better approach than the one I proposed before. This time,
I have only added a single function specifically for use by aeads:

blkcipher_aead_walk_virt_block()

which takes an additional aead param which is used to get the ivsize, alignmask
and blocksize of the underlying transform.

Ard Biesheuvel (3):
  crypto: remove direct blkcipher_walk dependency on transform
  crypto: allow blkcipher walks over AEAD data
  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 | 297 +++++++++++++++++++++++++++++++++++++
 crypto/blkcipher.c                 |  81 +++++-----
 include/crypto/algapi.h            |   9 +-
 6 files changed, 587 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

--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux