diff options
Diffstat (limited to 'drivers/crypto/hifn_795x.c')
-rw-r--r-- | drivers/crypto/hifn_795x.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c index 76368f984023..c9c4befb5a8d 100644 --- a/drivers/crypto/hifn_795x.c +++ b/drivers/crypto/hifn_795x.c | |||
@@ -2494,7 +2494,8 @@ static int hifn_alg_alloc(struct hifn_device *dev, struct hifn_alg_template *t) | |||
2494 | t->drv_name, dev->name); | 2494 | t->drv_name, dev->name); |
2495 | 2495 | ||
2496 | alg->alg.cra_priority = 300; | 2496 | alg->alg.cra_priority = 300; |
2497 | alg->alg.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | CRYPTO_ALG_ASYNC; | 2497 | alg->alg.cra_flags = CRYPTO_ALG_TYPE_ABLKCIPHER | |
2498 | CRYPTO_ALG_KERN_DRIVER_ONLY | CRYPTO_ALG_ASYNC; | ||
2498 | alg->alg.cra_blocksize = t->bsize; | 2499 | alg->alg.cra_blocksize = t->bsize; |
2499 | alg->alg.cra_ctxsize = sizeof(struct hifn_context); | 2500 | alg->alg.cra_ctxsize = sizeof(struct hifn_context); |
2500 | alg->alg.cra_alignmask = 0; | 2501 | alg->alg.cra_alignmask = 0; |