Lines Matching refs:base
131 walk->flags = req->base.flags; in crypto_hash_walk_first()
168 !(alg->base.cra_flags & CRYPTO_ALG_OPTIONAL_KEY)) in ahash_set_needkey()
207 (req->base.flags & CRYPTO_TFM_REQ_MAY_SLEEP) ? in ahash_save_req()
238 priv->complete = req->base.complete; in ahash_save_req()
239 priv->data = req->base.data; in ahash_save_req()
240 priv->flags = req->base.flags; in ahash_save_req()
249 req->base.complete = cplt; in ahash_save_req()
250 req->base.data = req; in ahash_save_req()
307 areq->base.complete(&areq->base, err); in ahash_op_unaligned_done()
343 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_final()
357 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_finup()
371 struct crypto_alg *alg = tfm->base.__crt_alg; in crypto_ahash_digest()
394 areq->base.complete(&areq->base, err); in ahash_def_finup_done2()
402 req->base.complete = ahash_def_finup_done2; in ahash_def_finup_finish1()
422 areq->base.flags &= ~CRYPTO_TFM_REQ_MAY_SLEEP; in ahash_def_finup_done1()
428 areq->base.complete(&areq->base, err); in ahash_def_finup_done1()
543 .tfmsize = offsetof(struct crypto_ahash, base),
550 spawn->base.frontend = &crypto_ahash_type; in crypto_grab_ahash()
551 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_ahash()
570 struct crypto_alg *base = &alg->halg.base; in ahash_prepare_alg() local
577 base->cra_type = &crypto_ahash_type; in ahash_prepare_alg()
578 base->cra_flags &= ~CRYPTO_ALG_TYPE_MASK; in ahash_prepare_alg()
579 base->cra_flags |= CRYPTO_ALG_TYPE_AHASH; in ahash_prepare_alg()
586 struct crypto_alg *base = &alg->halg.base; in crypto_register_ahash() local
593 return crypto_register_alg(base); in crypto_register_ahash()
599 crypto_unregister_alg(&alg->halg.base); in crypto_unregister_ahash()
650 struct crypto_alg *alg = &halg->base; in crypto_hash_alg_has_setkey()