aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--crypto/crypto_user_base.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/crypto_user_base.c b/crypto/crypto_user_base.c
index f25d3f32c9c2..f93b691f8045 100644
--- a/crypto/crypto_user_base.c
+++ b/crypto/crypto_user_base.c
@@ -56,6 +56,9 @@ struct crypto_alg *crypto_alg_match(struct crypto_user_alg *p, int exact)
56 list_for_each_entry(q, &crypto_alg_list, cra_list) { 56 list_for_each_entry(q, &crypto_alg_list, cra_list) {
57 int match = 0; 57 int match = 0;
58 58
59 if (crypto_is_larval(q))
60 continue;
61
59 if ((q->cra_flags ^ p->cru_type) & p->cru_mask) 62 if ((q->cra_flags ^ p->cru_type) & p->cru_mask)
60 continue; 63 continue;
61 64