Searched refs:larval (Results 1 – 3 of 3) sorted by relevance
95 struct crypto_larval *larval = (void *)alg; in crypto_larval_destroy() local98 if (!IS_ERR_OR_NULL(larval->adult)) in crypto_larval_destroy()99 crypto_mod_put(larval->adult); in crypto_larval_destroy()100 kfree(larval); in crypto_larval_destroy()105 struct crypto_larval *larval; in crypto_larval_alloc() local107 larval = kzalloc(sizeof(*larval), GFP_KERNEL); in crypto_larval_alloc()108 if (!larval) in crypto_larval_alloc()113 larval->mask = mask; in crypto_larval_alloc()114 larval->alg.cra_flags = CRYPTO_ALG_LARVAL | type; in crypto_larval_alloc()115 larval->alg.cra_priority = -1; in crypto_larval_alloc()[all …]
38 struct crypto_larval *larval; member67 param->larval->adult = ERR_PTR(err); in cryptomgr_probe()68 param->larval->alg.cra_flags |= CRYPTO_ALG_DEAD; in cryptomgr_probe()69 complete_all(¶m->larval->completion); in cryptomgr_probe()70 crypto_alg_put(¶m->larval->alg); in cryptomgr_probe()75 static int cryptomgr_schedule_probe(struct crypto_larval *larval) in cryptomgr_schedule_probe() argument79 const char *name = larval->alg.cra_name; in cryptomgr_schedule_probe()147 param->type.data.type = larval->alg.cra_flags & ~CRYPTO_ALG_TESTED; in cryptomgr_schedule_probe()148 param->type.data.mask = larval->mask & ~CRYPTO_ALG_TESTED; in cryptomgr_schedule_probe()151 param->otype = larval->alg.cra_flags; in cryptomgr_schedule_probe()[all …]
101 void crypto_schedule_test(struct crypto_larval *larval);192 static inline int crypto_is_test_larval(struct crypto_larval *larval) in crypto_is_test_larval() argument194 return larval->alg.cra_driver_name[0]; in crypto_is_test_larval()