Lines Matching defs:tfm
677 struct crypto_shash *tfm;
694 tfm = crypto_alloc_shash("hmac(sha256)", 0, 0);
695 if (IS_ERR(tfm))
696 return PTR_ERR(tfm);
698 ret = crypto_shash_setkey(tfm, sw->key, TB_SWITCH_KEY_SIZE);
702 shash = kzalloc(sizeof(*shash) + crypto_shash_descsize(tfm),
709 shash->tfm = tfm;
722 crypto_free_shash(tfm);
730 crypto_free_shash(tfm);