crypto: caam - xts(aes) updates
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest10 patches 2 repliesIn review
- v212 patches 2 repliesSuperseded
- v1 posting 2/29 patches 21 repliesSuperseded
Earlier versions · 1
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v1 posting 1/2 | 9 patches | 6 replies | Superseded |
Changes in v3 from the cover letter
- modified xts_skcipher_ivsize() based on comments
- squashed the previous 7-9/12 commits
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | crypto: caam/jr - add fallback for XTS with more than 8B IVdrivers/ drivers/ | +66 | 0 replies | |
| 2/10 | crypto: caam/qi - add fallback for XTS with more than 8B IVdrivers/ drivers/ | +68 | 0 replies | |
| 3/10 | crypto: caam/qi2 - add fallback for XTS with more than 8B IVdrivers/ drivers/ drivers/ | +78 | 0 replies | |
| 4/10 | crypto: caam/jr - add support for more XTS key lengthsdrivers/ | +10 | 0 replies | |
| 5/10 | crypto: caam/qi - add support for more XTS key lengthsdrivers/ | +10 | 0 replies | |
| 6/10 | crypto: caam/qi2 - add support for more XTS key lengthsdrivers/ | +12 | 0 replies | |
| 7/10 | crypto: caam - add xts check for block length equal to zerodrivers/ drivers/ drivers/ | +24 | 0 replies | |
| 8/10 | crypto: caam/jr - add support for XTS with 16B IVdrivers/ drivers/ | +24 | 0 replies | |
| 9/10 | crypto: caam/qi - add support for XTS with 16B IVdrivers/ | +8 | 0 replies | |
| 10/10 | crypto: caam/qi2 - add support for XTS with 16B IVdrivers/ | +10 | 0 replies |
Reviews trailers per patch
None of the 10 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Horia Geantă |
|---|---|
| Series | R-b |
| 1/10 | |
| 2/10 | |
| 3/10 | |
| 4/10 | |
| 5/10 | |
| 6/10 | |
| 7/10 | |
| 8/10 | |
| 9/10 | |
| 10/10 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v3 00/10] crypto: caam - xts(aes) updates
From: Andrei Botila <[email protected]>
This patch series fixes some problems in CAAM's implementation of xts(aes):
- CAAM until Era 9 can't process XTS with 16B IV
- CAAM can only process in hardware XTS key lengths of 16B and 32B
- These hardware limitations are resolved through a fallback
- CAAM used to return 0 for XTS block length equal to zero
This patch series also adds a new feature in CAAM's xts(aes):
- CAAM is now able to process XTS with 16B IV in HW
Changes since v2:
- modified xts_skcipher_ivsize() based on comments
- squashed the previous 7-9/12 commits
Changes since v1:
- use only get_unaligned() for calculating XTS IV size
- fixed the double calling of crypto_skcipher_set_reqsize() in case of XTS
- added a patch which modifies the return value for XTS when block length is equal to zero
Andrei Botila (10):
crypto: caam/jr - add fallback for XTS with more than 8B IV
crypto: caam/qi - add fallback for XTS with more than 8B IV
crypto: caam/qi2 - add fallback for XTS with more than 8B IV
crypto: caam/jr - add support for more XTS key lengths
crypto: caam/qi - add support for more XTS key lengths
crypto: caam/qi2 - add support for more XTS key lengths
crypto: caam - add xts check for block length equal to zero
crypto: caam/jr - add support for XTS with 16B IV
crypto: caam/qi - add support for XTS with 16B IV
crypto: caam/qi2 - add support for XTS with 16B IV
drivers/crypto/caam/Kconfig | 3 + drivers/crypto/caam/caamalg.c | 94 +++++++++++++++++++++--- drivers/crypto/caam/caamalg_desc.c | 27 ++++--- drivers/crypto/caam/caamalg_qi.c | 94 +++++++++++++++++++++--- drivers/crypto/caam/caamalg_qi2.c | 111 ++++++++++++++++++++++++++--- drivers/crypto/caam/caamalg_qi2.h | 2 + 6 files changed, 293 insertions(+), 38 deletions(-)
Signature · 1 line
2.17.1