[00/16] crypto: atmel - Fixes and cleanup patches
mbox series

Message ID 20191205095326.5094-1-tudor.ambarus@microchip.com
Headers show
Series
  • crypto: atmel - Fixes and cleanup patches
Related show

Message

Tudor Ambarus Dec. 5, 2019, 9:53 a.m. UTC
From: Tudor Ambarus <tudor.ambarus@microchip.com>

Fix AES CTR and other cleanup patches.

Tudor Ambarus (16):
  crypto: atmel-tdes: Constify value to write to hw
  crypto: atmel-{sha,tdes} - Change algorithm priorities
  crypto: atmel-tdes - Remove unused header includes
  crypto: atmel-{sha,tdes} - Propagate error from _hw_version_init()
  crypto: atmel-{aes,sha,tdes} - Drop superfluous error message in
    probe()
  crypto: atmel-{aes,sha,tdes} - Rename labels in probe()
  crypto: atmel-tdes - Remove useless write in Control Register
  crypto: atmel-tdes - Map driver data flags to Mode Register
  crypto: atmel-tdes - Drop unnecessary passing of tfm
  crypto: atmel-{aes,tdes} - Do not save IV for ECB mode
  crypto: atmel-aes - Fix counter overflow in CTR mode
  crypto: atmel-aes - Fix saving of IV for CTR mode
  crypto: atmel-{sha,tdes} - Remove unused 'err' member of driver data
  crypto: atmel-sha - Void return type for atmel_sha_update_dma_stop()
  crypto: atmel-aes - Use gcm helper to check authsize
  crypto: atmel-{aes,sha,tdes} - Group common alg type init in dedicated
    methods

 drivers/crypto/atmel-aes.c  | 227 ++++++++++++++-----------------------
 drivers/crypto/atmel-sha.c  | 102 +++++++----------
 drivers/crypto/atmel-tdes.c | 270 ++++++++++++++++++++------------------------
 3 files changed, 247 insertions(+), 352 deletions(-)

Comments

Herbert Xu Dec. 11, 2019, 9:45 a.m. UTC | #1
On Thu, Dec 05, 2019 at 09:53:43AM +0000, Tudor.Ambarus@microchip.com wrote:
> From: Tudor Ambarus <tudor.ambarus@microchip.com>
> 
> Fix AES CTR and other cleanup patches.
> 
> Tudor Ambarus (16):
>   crypto: atmel-tdes: Constify value to write to hw
>   crypto: atmel-{sha,tdes} - Change algorithm priorities
>   crypto: atmel-tdes - Remove unused header includes
>   crypto: atmel-{sha,tdes} - Propagate error from _hw_version_init()
>   crypto: atmel-{aes,sha,tdes} - Drop superfluous error message in
>     probe()
>   crypto: atmel-{aes,sha,tdes} - Rename labels in probe()
>   crypto: atmel-tdes - Remove useless write in Control Register
>   crypto: atmel-tdes - Map driver data flags to Mode Register
>   crypto: atmel-tdes - Drop unnecessary passing of tfm
>   crypto: atmel-{aes,tdes} - Do not save IV for ECB mode
>   crypto: atmel-aes - Fix counter overflow in CTR mode
>   crypto: atmel-aes - Fix saving of IV for CTR mode
>   crypto: atmel-{sha,tdes} - Remove unused 'err' member of driver data
>   crypto: atmel-sha - Void return type for atmel_sha_update_dma_stop()
>   crypto: atmel-aes - Use gcm helper to check authsize
>   crypto: atmel-{aes,sha,tdes} - Group common alg type init in dedicated
>     methods
> 
>  drivers/crypto/atmel-aes.c  | 227 ++++++++++++++-----------------------
>  drivers/crypto/atmel-sha.c  | 102 +++++++----------
>  drivers/crypto/atmel-tdes.c | 270 ++++++++++++++++++++------------------------
>  3 files changed, 247 insertions(+), 352 deletions(-)

All applied.  Thanks.