Home
last modified time | relevance | path

Searched refs:larval (Results 1 – 4 of 4) sorted by relevance

/linux/crypto/
H A Dapi.c95 struct crypto_larval *larval = (void *)alg; in crypto_larval_destroy() local
98 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() local
107 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 in crypto_larval_alloc()
129 struct crypto_larval *larval; crypto_larval_add() local
154 crypto_larval_kill(struct crypto_larval * larval) crypto_larval_kill() argument
171 crypto_schedule_test(struct crypto_larval * larval) crypto_schedule_test() argument
180 crypto_start_test(struct crypto_larval * larval) crypto_start_test() argument
203 struct crypto_larval *larval; crypto_larval_wait() local
340 struct crypto_alg *larval; crypto_alg_mod_lookup() local
[all...]
H A Dalgboss.c38 struct crypto_larval *larval; member
67 param->larval->adult = ERR_PTR(err); in cryptomgr_probe()
68 param->larval->alg.cra_flags |= CRYPTO_ALG_DEAD; in cryptomgr_probe()
69 complete_all(&param->larval->completion); in cryptomgr_probe()
70 crypto_alg_put(&param->larval->alg); in cryptomgr_probe()
75 static int cryptomgr_schedule_probe(struct crypto_larval *larval) in cryptomgr_schedule_probe() argument
79 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 in cryptomgr_schedule_probe()
[all...]
H A Dinternal.h116 void crypto_schedule_test(struct crypto_larval *larval);
209 static inline int crypto_is_test_larval(struct crypto_larval *larval) in crypto_is_test_larval() argument
211 return larval->alg.cra_driver_name[0]; in crypto_is_test_larval()
/linux/drivers/crypto/ccree/
H A Dcc_hash.c45 * larval hashes must be stored in hi/lo order
172 const void *larval = cc_larval_digest(dev, ctx->hash_mode); in cc_init_req() local
174 memcpy(state->digest_buff, larval, ctx->inter_digestsize); in cc_init_req()