Lines Matching refs:base
86 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_encrypt()
103 struct crypto_alg *alg = aead->base.__crt_alg; in crypto_aead_decrypt()
137 aead->base.exit = crypto_aead_exit_tfm; in crypto_aead_init_tfm()
149 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_report()
173 struct aead_alg *aead = container_of(alg, struct aead_alg, base); in crypto_aead_show()
202 .tfmsize = offsetof(struct crypto_aead, base),
209 spawn->base.frontend = &crypto_aead_type; in crypto_grab_aead()
210 return crypto_grab_spawn(&spawn->base, inst, name, type, mask); in crypto_grab_aead()
222 struct crypto_alg *base = &alg->base; in aead_prepare_alg() local
229 alg->chunksize = base->cra_blocksize; in aead_prepare_alg()
231 base->cra_type = &crypto_aead_type; in aead_prepare_alg()
232 base->cra_flags &= ~CRYPTO_ALG_TYPE_MASK; in aead_prepare_alg()
233 base->cra_flags |= CRYPTO_ALG_TYPE_AEAD; in aead_prepare_alg()
240 struct crypto_alg *base = &alg->base; in crypto_register_aead() local
247 return crypto_register_alg(base); in crypto_register_aead()
253 crypto_unregister_alg(&alg->base); in crypto_unregister_aead()