Searched refs:tctx (Results 1 – 3 of 3) sorted by relevance
466 static void tgr192_transform(struct tgr192_ctx *tctx, const u8 * data) in tgr192_transform() argument477 a = aa = tctx->a; in tgr192_transform()478 b = bb = tctx->b; in tgr192_transform()479 c = cc = tctx->c; in tgr192_transform()493 tctx->a = a; in tgr192_transform()494 tctx->b = b; in tgr192_transform()495 tctx->c = c; in tgr192_transform()500 struct tgr192_ctx *tctx = shash_desc_ctx(desc); in tgr192_init() local502 tctx->a = 0x0123456789abcdefULL; in tgr192_init()503 tctx->b = 0xfedcba9876543210ULL; in tgr192_init()[all …]
100 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_update() local102 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_update()146 struct xcbc_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_xcbc_digest_final() local148 struct crypto_cipher *tfm = tctx->child; in crypto_xcbc_digest_final()150 u8 *consts = PTR_ALIGN(&tctx->ctx[0], alignmask + 1); in crypto_xcbc_digest_final()
126 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_update() local128 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_update()172 struct cmac_tfm_ctx *tctx = crypto_shash_ctx(parent); in crypto_cmac_digest_final() local174 struct crypto_cipher *tfm = tctx->child; in crypto_cmac_digest_final()176 u8 *consts = PTR_ALIGN((void *)tctx->ctx, alignmask + 1); in crypto_cmac_digest_final()