Lines Matching refs:frontend
485 const struct crypto_type *frontend, int node,
493 tfmsize = frontend->tfmsize;
494 total = tfmsize + sizeof(*tfm) + frontend->extsize(alg);
509 const struct crypto_type *frontend,
516 mem = crypto_alloc_tfmmem(alg, frontend, node, GFP_KERNEL);
520 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize);
522 err = frontend->init_tfm(tfm);
543 void *crypto_clone_tfm(const struct crypto_type *frontend,
554 mem = crypto_alloc_tfmmem(alg, frontend, otfm->node, GFP_ATOMIC);
560 tfm = (struct crypto_tfm *)(mem + frontend->tfmsize);
570 const struct crypto_type *frontend,
573 if (frontend) {
574 type &= frontend->maskclear;
575 mask &= frontend->maskclear;
576 type |= frontend->type;
577 mask |= frontend->maskset;
587 * @frontend: Frontend algorithm type
608 const struct crypto_type *frontend, u32 type, u32 mask,
617 alg = crypto_find_alg(alg_name, frontend, type, mask);
623 tfm = crypto_create_tfm_node(alg, frontend, node);