Home
last modified time | relevance | path

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

/linux-2.4.37.9/crypto/
Dmichael_mic.c75 struct michael_mic_ctx *mctx = ctx; in michael_init() local
76 mctx->pending_len = 0; in michael_init()
82 struct michael_mic_ctx *mctx = ctx; in michael_update() local
84 if (mctx->pending_len) { in michael_update()
85 int flen = 4 - mctx->pending_len; in michael_update()
88 memcpy(&mctx->pending[mctx->pending_len], data, flen); in michael_update()
89 mctx->pending_len += flen; in michael_update()
93 if (mctx->pending_len < 4) in michael_update()
96 mctx->l ^= get_le32(mctx->pending); in michael_update()
97 michael_block(mctx->l, mctx->r); in michael_update()
[all …]
Dmd4.c156 struct md4_ctx *mctx = ctx; in md4_init() local
158 mctx->hash[0] = 0x67452301; in md4_init()
159 mctx->hash[1] = 0xefcdab89; in md4_init()
160 mctx->hash[2] = 0x98badcfe; in md4_init()
161 mctx->hash[3] = 0x10325476; in md4_init()
162 mctx->byte_count = 0; in md4_init()
167 struct md4_ctx *mctx = ctx; in md4_update() local
168 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md4_update()
170 mctx->byte_count += len; in md4_update()
173 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in md4_update()
[all …]
Dmd5.c151 struct md5_ctx *mctx = ctx; in md5_init() local
153 mctx->hash[0] = 0x67452301; in md5_init()
154 mctx->hash[1] = 0xefcdab89; in md5_init()
155 mctx->hash[2] = 0x98badcfe; in md5_init()
156 mctx->hash[3] = 0x10325476; in md5_init()
157 mctx->byte_count = 0; in md5_init()
162 struct md5_ctx *mctx = ctx; in md5_update() local
163 const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md5_update()
165 mctx->byte_count += len; in md5_update()
168 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in md5_update()
[all …]
/linux-2.4.37.9/arch/ppc/kernel/
Dppc_htab.c157 unsigned int ctx, mctx, vsid; in ppc_htab_read() local
164 mctx = ((vsid - (vsid & 0xf) * 0x111) >> 4) & 0xfffff; in ppc_htab_read()
165 if (mctx == 0) { in ppc_htab_read()
170 ctx = (mctx * 801921) & 0xfffff; in ppc_htab_read()
Dsignal.c199 struct mcontext mctx; /* all the register values */ member
522 if (save_user_regs(regs, &frame->mctx, 0x7777)) in handle_signal()
531 regs->link = (unsigned long) frame->mctx.tramp; in handle_signal()