[PATCH 0/9] crypto: atmel-{aes, tdes}: Fix corner cases - crypto self tests

Herbert Xu herbert at gondor.apana.org.au
Thu Jul 29 20:10:09 PDT 2021


On Tue, Jul 20, 2021 at 11:55:26AM +0300, Tudor Ambarus wrote:
> The extra run-time crypto self tests hit some corner cases that were            
> not handled in the drivers. Fix some corner cases. Propose some cleaning        
> patches.      
> 
> Tudor Ambarus (9):
>   crypto: atmel-tdes: Clarify how tdes dev gets allocated to the tfm
>   crypto: atmel-tdes: Handle error messages
>   crypto: atmel-aes: Add blocksize constraint for ECB and CBC modes
>   crypto: atmel-aes: Add XTS input length constraint
>   crypto: atmel-aes: Add NIST 800-38A's zero length cryptlen constraint
>   crypto: atmel-tdes: Add FIPS81's zero length cryptlen constraint
>   crypto: atmel-{aes, tdes}: Set OFB's blocksize to 1
>   crypto: atmel-aes: Add fallback to XTS software implementation
>   crypto: atmel-aes: Allocate aes dev at tfm init time
> 
>  drivers/crypto/atmel-aes.c  | 146 +++++++++++++++++++++++++++---------
>  drivers/crypto/atmel-tdes.c |  66 +++++++---------
>  2 files changed, 138 insertions(+), 74 deletions(-)

All applied.  Thanks.
-- 
Email: Herbert Xu <herbert at gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt



More information about the linux-arm-kernel mailing list