Searched refs:mctx (Results 1 – 5 of 5) sorted by relevance
75 struct michael_mic_ctx *mctx = ctx; in michael_init() local76 mctx->pending_len = 0; in michael_init()82 struct michael_mic_ctx *mctx = ctx; in michael_update() local84 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 …]
156 struct md4_ctx *mctx = ctx; in md4_init() local158 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() local168 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 …]
151 struct md5_ctx *mctx = ctx; in md5_init() local153 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() local163 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 …]
157 unsigned int ctx, mctx, vsid; in ppc_htab_read() local164 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()
199 struct mcontext mctx; /* all the register values */ member522 if (save_user_regs(regs, &frame->mctx, 0x7777)) in handle_signal()531 regs->link = (unsigned long) frame->mctx.tramp; in handle_signal()