Lines Matching defs:tfm
122 struct crypto_shash *tfm;
130 tfm = *this_cpu_ptr(algo->tfms);
132 dgsize = crypto_shash_digestsize(tfm);
139 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen);
146 shash->tfm = tfm;
354 struct crypto_shash *tfm;
370 tfm = crypto_alloc_shash(algo->name, 0, 0);
371 if (IS_ERR(tfm))
372 return PTR_ERR(tfm);
374 *p_tfm = tfm;
378 tfm = *p_tfm;
380 shsize = sizeof(*shash) + crypto_shash_descsize(tfm);
419 struct crypto_shash *tfm;
424 tfm = *per_cpu_ptr(algo->tfms, cpu);
425 crypto_free_shash(tfm);