mbox series

[v2,00/14] crypto: sahara - bugfixes and small improvements

Message ID 20231224082144.3894863-1-ovidiu.panait@windriver.com
Headers show
Series crypto: sahara - bugfixes and small improvements | expand

Message

Ovidiu Panait Dec. 24, 2023, 8:21 a.m. UTC
From: Ovidiu Panait <ovidiu.panait@windriver.com>

v2 updates:
patch 14/14 - ("crypto: sahara - add support for crypto_engine"):
  - added back missing SAHARA_VERSION_3 check in sahara_unregister_algs()

v1: https://lore.kernel.org/linux-crypto/20231223181108.3819741-1-ovidiu.panait@windriver.com/T/#t

Ovidiu Panait (14):
  crypto: sahara - handle zero-length aes requests
  crypto: sahara - fix ahash reqsize
  crypto: sahara - fix wait_for_completion_timeout() error handling
  crypto: sahara - improve error handling in sahara_sha_process()
  crypto: sahara - fix processing hash requests with req->nbytes <
    sg->length
  crypto: sahara - do not resize req->src when doing hash operations
  crypto: sahara - clean up macro indentation
  crypto: sahara - use BIT() macro
  crypto: sahara - use devm_clk_get_enabled()
  crypto: sahara - use dev_err_probe()
  crypto: sahara - remove 'active' flag from sahara_aes_reqctx struct
  crypto: sahara - remove unnecessary NULL assignments
  crypto: sahara - remove error message for bad aes request size
  crypto: sahara - add support for crypto_engine

 drivers/crypto/Kconfig  |   1 +
 drivers/crypto/sahara.c | 657 +++++++++++++++++-----------------------
 2 files changed, 285 insertions(+), 373 deletions(-)

Comments

Herbert Xu Dec. 29, 2023, 3:30 a.m. UTC | #1
On Sun, Dec 24, 2023 at 10:21:30AM +0200, ovidiu.panait@windriver.com wrote:
> From: Ovidiu Panait <ovidiu.panait@windriver.com>
> 
> v2 updates:
> patch 14/14 - ("crypto: sahara - add support for crypto_engine"):
>   - added back missing SAHARA_VERSION_3 check in sahara_unregister_algs()
> 
> v1: https://lore.kernel.org/linux-crypto/20231223181108.3819741-1-ovidiu.panait@windriver.com/T/#t
> 
> Ovidiu Panait (14):
>   crypto: sahara - handle zero-length aes requests
>   crypto: sahara - fix ahash reqsize
>   crypto: sahara - fix wait_for_completion_timeout() error handling
>   crypto: sahara - improve error handling in sahara_sha_process()
>   crypto: sahara - fix processing hash requests with req->nbytes <
>     sg->length
>   crypto: sahara - do not resize req->src when doing hash operations
>   crypto: sahara - clean up macro indentation
>   crypto: sahara - use BIT() macro
>   crypto: sahara - use devm_clk_get_enabled()
>   crypto: sahara - use dev_err_probe()
>   crypto: sahara - remove 'active' flag from sahara_aes_reqctx struct
>   crypto: sahara - remove unnecessary NULL assignments
>   crypto: sahara - remove error message for bad aes request size
>   crypto: sahara - add support for crypto_engine
> 
>  drivers/crypto/Kconfig  |   1 +
>  drivers/crypto/sahara.c | 657 +++++++++++++++++-----------------------
>  2 files changed, 285 insertions(+), 373 deletions(-)
> 
> -- 
> 2.34.1

All applied.  Thanks.