Home
last modified time | relevance | path

Searched refs:mctx (Results 1 – 7 of 7) sorted by relevance

/arch/sparc/crypto/
Dmd5_glue.c34 struct md5_state *mctx = shash_desc_ctx(desc); in md5_sparc64_init() local
36 mctx->hash[0] = cpu_to_le32(0x67452301); in md5_sparc64_init()
37 mctx->hash[1] = cpu_to_le32(0xefcdab89); in md5_sparc64_init()
38 mctx->hash[2] = cpu_to_le32(0x98badcfe); in md5_sparc64_init()
39 mctx->hash[3] = cpu_to_le32(0x10325476); in md5_sparc64_init()
40 mctx->byte_count = 0; in md5_sparc64_init()
Dcrc32c_glue.c33 u32 *mctx = crypto_shash_ctx(hash); in crc32c_sparc64_setkey() local
39 *(__le32 *)mctx = le32_to_cpup((__le32 *)key); in crc32c_sparc64_setkey()
45 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_sparc64_init() local
48 *crcp = *mctx; in crc32c_sparc64_init()
/arch/powerpc/perf/
Dcallchain.c349 struct mcontext32 mctx; member
365 if (nip == fp + offsetof(struct signal_frame_32, mctx.mc_pad)) in is_sigreturn_32_address()
392 return regs == (unsigned long) &sf->mctx; in sane_signal_32_frame()
409 struct mcontext32 __user *mctx = NULL; in signal_frame_32_regs() local
423 mctx = &sf->mctx; in signal_frame_32_regs()
426 if (!mctx && next_sp - sp >= sizeof(struct rt_signal_frame_32) && in signal_frame_32_regs()
430 mctx = &rt_sf->uc.uc_mcontext; in signal_frame_32_regs()
433 if (!mctx) in signal_frame_32_regs()
435 return mctx->mc_gregs; in signal_frame_32_regs()
/arch/x86/crypto/
Dcrc32-pclmul_glue.c94 u32 *mctx = crypto_shash_ctx(hash); in crc32_pclmul_setkey() local
100 *mctx = le32_to_cpup((__le32 *)key); in crc32_pclmul_setkey()
106 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32_pclmul_init() local
109 *crcp = *mctx; in crc32_pclmul_init()
Dcrc32c-intel_glue.c118 u32 *mctx = crypto_shash_ctx(hash); in crc32c_intel_setkey() local
124 *mctx = le32_to_cpup((__le32 *)key); in crc32c_intel_setkey()
130 u32 *mctx = crypto_shash_ctx(desc->tfm); in crc32c_intel_init() local
133 *crcp = *mctx; in crc32c_intel_init()
/arch/powerpc/kernel/
Dsignal_32.c220 struct mcontext mctx; /* all the register values */ member
1179 struct mcontext __user *mctx; in sys_swapcontext() local
1188 mctx = (struct mcontext __user *) in sys_swapcontext()
1191 || save_user_regs(regs, mctx, NULL, 0, ctx_has_vsx_region) in sys_swapcontext()
1193 || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs)) in sys_swapcontext()
1433 || __put_user(to_user_ptr(&frame->mctx), &sc->regs) in handle_signal32()
1442 tramp = (unsigned long) frame->mctx.tramp; in handle_signal32()
1448 if (save_tm_user_regs(regs, &frame->mctx, &frame->mctx_transact, in handle_signal32()
1455 if (save_user_regs(regs, &frame->mctx, tm_mctx, sigret, 1)) in handle_signal32()
1526 mcp = (struct mcontext __user *)&sf->mctx; in sys_sigreturn()
/arch/x86/crypto/sha-mb/
Dsha1_mb.c772 struct mcryptd_hash_ctx *mctx; in sha1_mb_async_init_tfm() local
777 mctx = crypto_ahash_ctx(&mcryptd_tfm->base); in sha1_mb_async_init_tfm()
778 mctx->alg_state = &sha1_mb_alg_state; in sha1_mb_async_init_tfm()