Lines Matching defs:tctx
167 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm);
170 if (tctx->hcu_dev)
171 return tctx->hcu_dev;
178 tctx->hcu_dev = list_first_entry_or_null(&ocs_hcu.dev_list,
183 return tctx->hcu_dev;
418 struct ocs_hcu_ctx *tctx = crypto_ahash_ctx(tfm);
438 rc = ocs_hcu_hmac(hcu_dev, rctx->algo, tctx->key, tctx->key_len,
534 WARN_ON(tctx->key_len != rctx->blk_sz);
536 rctx->buffer[i] = tctx->key[i] ^ HMAC_OPAD_VALUE;