Lines Matching refs:base
34 char head[offsetof(struct ahash_alg, halg.base)];
35 struct crypto_instance base; member
45 char head[offsetof(struct shash_alg, base)];
46 struct crypto_instance base; member
53 struct crypto_spawn base; member
57 struct crypto_spawn base; member
87 !(alg->base.cra_flags & CRYPTO_ALG_OPTIONAL_KEY); in crypto_shash_alg_needs_key()
96 crypto_drop_spawn(&spawn->base); in crypto_drop_ahash()
102 return __crypto_hash_alg_common(spawn->base.alg); in crypto_spawn_ahash_alg()
119 crypto_drop_spawn(&spawn->base); in crypto_drop_shash()
125 return __crypto_shash_alg(spawn->base.alg); in crypto_spawn_shash_alg()
176 return &inst->s.base; in ahash_crypto_instance()
182 return container_of(inst, struct ahash_instance, s.base); in ahash_instance()
188 return ahash_instance(crypto_tfm_alg_instance(&ahash->base)); in ahash_alg_instance()
208 crypto_request_complete(&req->base, err); in ahash_request_complete()
213 return req->base.flags; in ahash_request_flags()
219 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_ahash()
225 return crypto_enqueue_request(queue, &request->base); in ahash_enqueue_request()
236 return crypto_tfm_ctx(&tfm->base); in crypto_shash_ctx()
242 return &inst->s.base; in shash_crypto_instance()
248 return container_of(inst, struct shash_instance, s.base); in shash_instance()
254 return shash_instance(crypto_tfm_alg_instance(&shash->base)); in shash_alg_instance()
265 return crypto_spawn_tfm2(&spawn->base); in crypto_spawn_shash()
270 return container_of(tfm, struct crypto_shash, base); in __crypto_shash_cast()