Lines Matching refs:tctx
37 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_setkey() local
38 struct crypto_shash *hash = tctx->hash; in hmac_setkey()
39 u8 *ipad = &tctx->pads[0]; in hmac_setkey()
40 u8 *opad = &tctx->pads[ss]; in hmac_setkey()
86 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_import() local
88 desc->tfm = tctx->hash; in hmac_import()
95 const struct hmac_ctx *tctx = crypto_shash_ctx(pdesc->tfm); in hmac_init() local
97 return hmac_import(pdesc, &tctx->pads[0]); in hmac_init()
113 const struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_final() local
114 const u8 *opad = &tctx->pads[ss]; in hmac_final()
129 const struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_finup() local
130 const u8 *opad = &tctx->pads[ss]; in hmac_finup()
143 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_init_tfm() local
152 tctx->hash = hash; in hmac_init_tfm()
172 struct hmac_ctx *tctx = crypto_shash_ctx(parent); in hmac_exit_tfm() local
174 crypto_free_shash(tctx->hash); in hmac_exit_tfm()