Searched refs:larval (Results 1 – 5 of 5) sorted by relevance
101 kfree(larval); in crypto_larval_destroy()108 larval = kzalloc(sizeof(*larval), GFP_KERNEL); in crypto_larval_alloc()109 if (!larval) in crypto_larval_alloc()114 larval->mask = mask; in crypto_larval_alloc()122 return larval; in crypto_larval_alloc()133 if (IS_ERR(larval)) in crypto_larval_add()141 alg = &larval->alg; in crypto_larval_add()147 kfree(larval); in crypto_larval_add()216 alg = larval->adult; in crypto_larval_wait()346 if (IS_ERR(larval) || !crypto_is_larval(larval)) in crypto_alg_mod_lookup()[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()79 const char *name = larval->alg.cra_name; in cryptomgr_schedule_probe()151 param->otype = larval->alg.cra_flags; in cryptomgr_schedule_probe()152 param->omask = larval->mask; in cryptomgr_schedule_probe()154 crypto_alg_get(&larval->alg); in cryptomgr_schedule_probe()155 param->larval = larval; in cryptomgr_schedule_probe()[all …]
270 if (IS_ERR(larval)) in crypto_alloc_test_larval()271 return larval; in crypto_alloc_test_larval()275 kfree(larval); in crypto_alloc_test_larval()284 return larval; in crypto_alloc_test_larval()321 if (IS_ERR(larval)) in __crypto_register_alg()326 if (larval) { in __crypto_register_alg()337 return larval; in __crypto_register_alg()647 else if (larval) in crypto_register_instance()659 if (larval) in crypto_register_instance()1047 larval = l; in crypto_start_tests()[all …]
116 void crypto_schedule_test(struct crypto_larval *larval);208 static inline int crypto_is_test_larval(struct crypto_larval *larval) in crypto_is_test_larval() argument210 return larval->alg.cra_driver_name[0]; in crypto_is_test_larval()
172 const void *larval = cc_larval_digest(dev, ctx->hash_mode); in cc_init_req() local174 memcpy(state->digest_buff, larval, ctx->inter_digestsize); in cc_init_req()