Skip to content

crypto: aspeed/hash - Convert to partial block API

Herbert Xu linux-aspeed linux-crypto 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest11 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11crypto: aspeed/hash - Remove purely software hmac implementationdrivers/crypto/aspeed/aspeed-hace-hash.c drivers/crypto/aspeed/aspeed-hace.h+0 -3450 replies
2/11crypto: aspeed/hash - Reorganise struct aspeed_sham_reqctxdrivers/crypto/aspeed/aspeed-hace.h+9 -40 replies
3/11crypto: aspeed/hash - Use init_tfm instead of cra_initdrivers/crypto/aspeed/aspeed-hace-hash.c+13 -110 replies
4/11crypto: aspeed/hash - Provide rctx->buffer as argument to fill paddingdrivers/crypto/aspeed/aspeed-hace-hash.c+13 -140 replies
5/11crypto: aspeed/hash - Move sham_final call into sham_updatedrivers/crypto/aspeed/aspeed-hace-hash.c+17 -270 replies
6/11crypto: aspeed/hash - Move final padding into dma_preparedrivers/crypto/aspeed/aspeed-hace-hash.c+17 -120 replies
7/11crypto: aspeed/hash - Remove sha_ivdrivers/crypto/aspeed/aspeed-hace-hash.c drivers/crypto/aspeed/aspeed-hace.h+0 -60 replies
8/11crypto: aspeed/hash - Use API partial block handlingdrivers/crypto/aspeed/aspeed-hace-hash.c drivers/crypto/aspeed/aspeed-hace.h+104 -2060 replies
9/11crypto: aspeed/hash - Add fallbackdrivers/crypto/aspeed/aspeed-hace-hash.c+27 -10 replies
10/11crypto: aspeed/hash - Iterate on large hashes in dma_preparedrivers/crypto/aspeed/aspeed-hace-hash.c+22 -140 replies
11/11crypto: aspeed/hash - Fix potential overflow in dma_prepare_sgdrivers/crypto/aspeed/aspeed-hace-hash.c+43 -410 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 00/11] crypto: aspeed/hash - Convert to partial block API

This series converts aspeed to the partial block API while removing hash length limits and making it more robust if dma mapping fails.

Herbert Xu (11):
crypto: aspeed/hash - Remove purely software hmac implementation
crypto: aspeed/hash - Reorganise struct aspeed_sham_reqctx
crypto: aspeed/hash - Use init_tfm instead of cra_init
crypto: aspeed/hash - Provide rctx->buffer as argument to fill padding
crypto: aspeed/hash - Move sham_final call into sham_update
crypto: aspeed/hash - Move final padding into dma_prepare
crypto: aspeed/hash - Remove sha_iv
crypto: aspeed/hash - Use API partial block handling
crypto: aspeed/hash - Add fallback
crypto: aspeed/hash - Iterate on large hashes in dma_prepare
crypto: aspeed/hash - Fix potential overflow in dma_prepare_sg

 drivers/crypto/aspeed/aspeed-hace-hash.c | 802 ++++++-----------------
 drivers/crypto/aspeed/aspeed-hace.h      |  28 +-
 2 files changed, 207 insertions(+), 623 deletions(-)
Signature · 1 line
2.39.5