lkml.org 
[lkml]   [2019]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] crypto: caam - add ecb mode support
Date
This patch set adds ecb mode support for aes, des, 3des and arc4 ciphers.
skcipher implementation is reused, making sure to handle the no IV case.

While here:
-fix a DMA API issue where initial src/dst_nents are used instead of nents
returned by dma_map_sg()
-export arc4 defines in a common header
-update cbc des and 3des to check for weak keys

Iuliana Prodan (4):
crypto: caam - use mapped_{src,dst}_nents for job descriptor
crypto: export arc4 defines
crypto: caam - add ecb(*) support
crypto: caam - weak key checking for cbc des, 3des

crypto/arc4.c | 5 +-
drivers/crypto/bcm/cipher.h | 4 +-
drivers/crypto/caam/Kconfig | 1 +
drivers/crypto/caam/caamalg.c | 215 ++++++++++++++++++++++++++++---------
drivers/crypto/caam/caamalg_desc.c | 18 ++--
drivers/crypto/caam/compat.h | 1 +
include/crypto/arc4.h | 13 +++
7 files changed, 195 insertions(+), 62 deletions(-)
create mode 100644 include/crypto/arc4.h

--
2.1.0

\
 
 \ /
  Last update: 2019-02-08 14:52    [W:0.222 / U:0.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site