Skip to content

Commit ef2b6e0

Browse files
Pratham-Therbertx
authored andcommitted
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 <herbert@gondor.apana.org.au> Fixes: 52f641b ("crypto: ti - Add driver for DTHE V2 AES Engine (ECB, CBC)") Signed-off-by: T Pratham <t-pratham@ti.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 81c1a15 commit ef2b6e0

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/crypto/ti/dthev2-aes.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,7 @@ static struct skcipher_engine_alg cipher_algs[] = {
367367
.cra_driver_name = "ecb-aes-dthev2",
368368
.cra_priority = 299,
369369
.cra_flags = CRYPTO_ALG_TYPE_SKCIPHER |
370+
CRYPTO_ALG_ASYNC |
370371
CRYPTO_ALG_KERN_DRIVER_ONLY,
371372
.cra_alignmask = AES_BLOCK_SIZE - 1,
372373
.cra_blocksize = AES_BLOCK_SIZE,
@@ -389,6 +390,7 @@ static struct skcipher_engine_alg cipher_algs[] = {
389390
.cra_driver_name = "cbc-aes-dthev2",
390391
.cra_priority = 299,
391392
.cra_flags = CRYPTO_ALG_TYPE_SKCIPHER |
393+
CRYPTO_ALG_ASYNC |
392394
CRYPTO_ALG_KERN_DRIVER_ONLY,
393395
.cra_alignmask = AES_BLOCK_SIZE - 1,
394396
.cra_blocksize = AES_BLOCK_SIZE,

0 commit comments

Comments
 (0)