crypto: ti - Add CRYPTO_ALG_ASYNC flag to DTHEv2 AES algos
T Pratham
maintainerPATCH 1/1 crypto: ti - Add CRYPTO_ALG_ASYNC flag to DTHEv2 AES algos
Add CRYPTO_ALG_ASYNC flag to DTHEv2 AES-ECB and AES-CBC algorithms so as to properly indicate driver capabilities.
Suggested-by Herbert Xu <[email protected]>
Signed-off-by T Pratham <[email protected]>
--- drivers/crypto/ti/dthev2-aes.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/crypto/ti/dthev2-aes.c +2 -0
@@ -367,6 +367,7 @@ static struct skcipher_engine_alg cipher_algs[] = { .cra_driver_name = "ecb-aes-dthev2", .cra_priority = 299, .cra_flags =CRYPTO_ALG_TYPE_SKCIPHER | +CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY, .cra_alignmask = AES_BLOCK_SIZE - 1, .cra_blocksize = AES_BLOCK_SIZE,
@@ -389,6 +390,7 @@ static struct skcipher_engine_alg cipher_algs[] = { .cra_driver_name = "cbc-aes-dthev2", .cra_priority = 299, .cra_flags =CRYPTO_ALG_TYPE_SKCIPHER | +CRYPTO_ALG_ASYNC | CRYPTO_ALG_KERN_DRIVER_ONLY, .cra_alignmask = AES_BLOCK_SIZE - 1, .cra_blocksize = AES_BLOCK_SIZE,
Signature · 1 line
2.43.0
Herbert Xu
maintainerQuoted 8 lines · T Pratham
Add
CRYPTO_ALG_ASYNCflag to DTHEv2 AES-ECB and AES-CBC algorithms so as to properly indicate driver capabilities.Suggested-by Herbert Xu <[email protected]>Signed-off-by T Pratham <[email protected]>--- drivers/crypto/ti/dthev2-aes.c | 2 ++ 1 file changed, 2 insertions(+)
Patch applied. Thanks.
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt