Lines Matching defs:tfm
123 struct crypto_shash *tfm;
131 tfm = *this_cpu_ptr(algo->tfms);
133 dgsize = crypto_shash_digestsize(tfm);
140 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen);
147 shash->tfm = tfm;
355 struct crypto_shash *tfm;
371 tfm = crypto_alloc_shash(algo->name, 0, 0);
372 if (IS_ERR(tfm))
373 return PTR_ERR(tfm);
375 *p_tfm = tfm;
379 tfm = *p_tfm;
381 shsize = sizeof(*shash) + crypto_shash_descsize(tfm);
422 struct crypto_shash *tfm;
427 tfm = *per_cpu_ptr(algo->tfms, cpu);
428 crypto_free_shash(tfm);