mctx               55 arch/arm/crypto/crc32-ce-glue.c 	u32 *mctx = crypto_shash_ctx(hash);
mctx               61 arch/arm/crypto/crc32-ce-glue.c 	*mctx = le32_to_cpup((__le32 *)key);
mctx               67 arch/arm/crypto/crc32-ce-glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
mctx               70 arch/arm/crypto/crc32-ce-glue.c 	*crc = *mctx;
mctx               70 arch/mips/cavium-octeon/crypto/octeon-md5.c 	struct md5_state *mctx = shash_desc_ctx(desc);
mctx               72 arch/mips/cavium-octeon/crypto/octeon-md5.c 	mctx->hash[0] = cpu_to_le32(MD5_H0);
mctx               73 arch/mips/cavium-octeon/crypto/octeon-md5.c 	mctx->hash[1] = cpu_to_le32(MD5_H1);
mctx               74 arch/mips/cavium-octeon/crypto/octeon-md5.c 	mctx->hash[2] = cpu_to_le32(MD5_H2);
mctx               75 arch/mips/cavium-octeon/crypto/octeon-md5.c 	mctx->hash[3] = cpu_to_le32(MD5_H3);
mctx               76 arch/mips/cavium-octeon/crypto/octeon-md5.c 	mctx->byte_count = 0;
mctx               84 arch/mips/cavium-octeon/crypto/octeon-md5.c 	struct md5_state *mctx = shash_desc_ctx(desc);
mctx               85 arch/mips/cavium-octeon/crypto/octeon-md5.c 	const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
mctx               89 arch/mips/cavium-octeon/crypto/octeon-md5.c 	mctx->byte_count += len;
mctx               92 arch/mips/cavium-octeon/crypto/octeon-md5.c 		memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
mctx               97 arch/mips/cavium-octeon/crypto/octeon-md5.c 	memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), data,
mctx              101 arch/mips/cavium-octeon/crypto/octeon-md5.c 	octeon_md5_store_hash(mctx);
mctx              103 arch/mips/cavium-octeon/crypto/octeon-md5.c 	octeon_md5_transform(mctx->block);
mctx              107 arch/mips/cavium-octeon/crypto/octeon-md5.c 	while (len >= sizeof(mctx->block)) {
mctx              109 arch/mips/cavium-octeon/crypto/octeon-md5.c 		data += sizeof(mctx->block);
mctx              110 arch/mips/cavium-octeon/crypto/octeon-md5.c 		len -= sizeof(mctx->block);
mctx              113 arch/mips/cavium-octeon/crypto/octeon-md5.c 	octeon_md5_read_hash(mctx);
mctx              116 arch/mips/cavium-octeon/crypto/octeon-md5.c 	memcpy(mctx->block, data, len);
mctx              123 arch/mips/cavium-octeon/crypto/octeon-md5.c 	struct md5_state *mctx = shash_desc_ctx(desc);
mctx              124 arch/mips/cavium-octeon/crypto/octeon-md5.c 	const unsigned int offset = mctx->byte_count & 0x3f;
mctx              125 arch/mips/cavium-octeon/crypto/octeon-md5.c 	char *p = (char *)mctx->block + offset;
mctx              133 arch/mips/cavium-octeon/crypto/octeon-md5.c 	octeon_md5_store_hash(mctx);
mctx              137 arch/mips/cavium-octeon/crypto/octeon-md5.c 		octeon_md5_transform(mctx->block);
mctx              138 arch/mips/cavium-octeon/crypto/octeon-md5.c 		p = (char *)mctx->block;
mctx              143 arch/mips/cavium-octeon/crypto/octeon-md5.c 	mctx->block[14] = cpu_to_le32(mctx->byte_count << 3);
mctx              144 arch/mips/cavium-octeon/crypto/octeon-md5.c 	mctx->block[15] = cpu_to_le32(mctx->byte_count >> 29);
mctx              145 arch/mips/cavium-octeon/crypto/octeon-md5.c 	octeon_md5_transform(mctx->block);
mctx              147 arch/mips/cavium-octeon/crypto/octeon-md5.c 	octeon_md5_read_hash(mctx);
mctx              150 arch/mips/cavium-octeon/crypto/octeon-md5.c 	memcpy(out, mctx->hash, sizeof(mctx->hash));
mctx              151 arch/mips/cavium-octeon/crypto/octeon-md5.c 	memset(mctx, 0, sizeof(*mctx));
mctx              162 arch/mips/crypto/crc32-mips.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
mctx              165 arch/mips/crypto/crc32-mips.c 	ctx->crc = mctx->key;
mctx              178 arch/mips/crypto/crc32-mips.c 	struct chksum_ctx *mctx = crypto_shash_ctx(tfm);
mctx              180 arch/mips/crypto/crc32-mips.c 	if (keylen != sizeof(mctx->key)) {
mctx              184 arch/mips/crypto/crc32-mips.c 	mctx->key = get_unaligned_le32(key);
mctx              253 arch/mips/crypto/crc32-mips.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
mctx              255 arch/mips/crypto/crc32-mips.c 	return __chksum_finup(mctx->key, data, length, out);
mctx              261 arch/mips/crypto/crc32-mips.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
mctx              263 arch/mips/crypto/crc32-mips.c 	return __chksumc_finup(mctx->key, data, length, out);
mctx              268 arch/mips/crypto/crc32-mips.c 	struct chksum_ctx *mctx = crypto_tfm_ctx(tfm);
mctx              270 arch/mips/crypto/crc32-mips.c 	mctx->key = ~0;
mctx               74 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	u32 *mctx = crypto_shash_ctx(hash);
mctx               80 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	*mctx = le32_to_cpup((__le32 *)key);
mctx               86 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
mctx               89 arch/powerpc/crypto/crc32c-vpmsum_glue.c 	*crcp = *mctx;
mctx              195 arch/powerpc/kernel/signal_32.c 	struct mcontext	mctx;		/* all the register values */
mctx             1104 arch/powerpc/kernel/signal_32.c 		struct mcontext __user *mctx;
mctx             1113 arch/powerpc/kernel/signal_32.c 		mctx = (struct mcontext __user *)
mctx             1116 arch/powerpc/kernel/signal_32.c 		    || save_user_regs(regs, mctx, NULL, 0, ctx_has_vsx_region)
mctx             1118 arch/powerpc/kernel/signal_32.c 		    || __put_user(to_user_ptr(mctx), &old_ctx->uc_regs))
mctx             1391 arch/powerpc/kernel/signal_32.c 	    || __put_user(to_user_ptr(&frame->mctx), &sc->regs)
mctx             1400 arch/powerpc/kernel/signal_32.c 		tramp = (unsigned long) frame->mctx.tramp;
mctx             1406 arch/powerpc/kernel/signal_32.c 		if (save_tm_user_regs(regs, &frame->mctx, &frame->mctx_transact,
mctx             1413 arch/powerpc/kernel/signal_32.c 		if (save_user_regs(regs, &frame->mctx, tm_mctx, sigret, 1))
mctx             1488 arch/powerpc/kernel/signal_32.c 	mcp = (struct mcontext __user *)&sf->mctx;
mctx              350 arch/powerpc/perf/callchain.c 	struct mcontext32	mctx;
mctx              366 arch/powerpc/perf/callchain.c 	if (nip == fp + offsetof(struct signal_frame_32, mctx.mc_pad))
mctx              393 arch/powerpc/perf/callchain.c 	return regs == (unsigned long) &sf->mctx;
mctx              410 arch/powerpc/perf/callchain.c 	struct mcontext32 __user *mctx = NULL;
mctx              424 arch/powerpc/perf/callchain.c 		mctx = &sf->mctx;
mctx              427 arch/powerpc/perf/callchain.c 	if (!mctx && next_sp - sp >= sizeof(struct rt_signal_frame_32) &&
mctx              431 arch/powerpc/perf/callchain.c 		mctx = &rt_sf->uc.uc_mcontext;
mctx              434 arch/powerpc/perf/callchain.c 	if (!mctx)
mctx              436 arch/powerpc/perf/callchain.c 	return mctx->mc_gregs;
mctx               86 arch/s390/crypto/crc32-vx.c 	struct crc_ctx *mctx = crypto_tfm_ctx(tfm);
mctx               88 arch/s390/crypto/crc32-vx.c 	mctx->key = 0;
mctx               94 arch/s390/crypto/crc32-vx.c 	struct crc_ctx *mctx = crypto_tfm_ctx(tfm);
mctx               96 arch/s390/crypto/crc32-vx.c 	mctx->key = ~0;
mctx              102 arch/s390/crypto/crc32-vx.c 	struct crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
mctx              105 arch/s390/crypto/crc32-vx.c 	ctx->crc = mctx->key;
mctx              112 arch/s390/crypto/crc32-vx.c 	struct crc_ctx *mctx = crypto_shash_ctx(tfm);
mctx              114 arch/s390/crypto/crc32-vx.c 	if (newkeylen != sizeof(mctx->key)) {
mctx              118 arch/s390/crypto/crc32-vx.c 	mctx->key = le32_to_cpu(*(__le32 *)newkey);
mctx              125 arch/s390/crypto/crc32-vx.c 	struct crc_ctx *mctx = crypto_shash_ctx(tfm);
mctx              127 arch/s390/crypto/crc32-vx.c 	if (newkeylen != sizeof(mctx->key)) {
mctx              131 arch/s390/crypto/crc32-vx.c 	mctx->key = be32_to_cpu(*(__be32 *)newkey);
mctx               34 arch/sparc/crypto/crc32c_glue.c 	u32 *mctx = crypto_shash_ctx(hash);
mctx               40 arch/sparc/crypto/crc32c_glue.c 	*(__le32 *)mctx = le32_to_cpup((__le32 *)key);
mctx               46 arch/sparc/crypto/crc32c_glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
mctx               49 arch/sparc/crypto/crc32c_glue.c 	*crcp = *mctx;
mctx               35 arch/sparc/crypto/md5_glue.c 	struct md5_state *mctx = shash_desc_ctx(desc);
mctx               37 arch/sparc/crypto/md5_glue.c 	mctx->hash[0] = cpu_to_le32(MD5_H0);
mctx               38 arch/sparc/crypto/md5_glue.c 	mctx->hash[1] = cpu_to_le32(MD5_H1);
mctx               39 arch/sparc/crypto/md5_glue.c 	mctx->hash[2] = cpu_to_le32(MD5_H2);
mctx               40 arch/sparc/crypto/md5_glue.c 	mctx->hash[3] = cpu_to_le32(MD5_H3);
mctx               41 arch/sparc/crypto/md5_glue.c 	mctx->byte_count = 0;
mctx               95 arch/x86/crypto/crc32-pclmul_glue.c 	u32 *mctx = crypto_shash_ctx(hash);
mctx              101 arch/x86/crypto/crc32-pclmul_glue.c 	*mctx = le32_to_cpup((__le32 *)key);
mctx              107 arch/x86/crypto/crc32-pclmul_glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
mctx              110 arch/x86/crypto/crc32-pclmul_glue.c 	*crcp = *mctx;
mctx               92 arch/x86/crypto/crc32c-intel_glue.c 	u32 *mctx = crypto_shash_ctx(hash);
mctx               98 arch/x86/crypto/crc32c-intel_glue.c 	*mctx = le32_to_cpup((__le32 *)key);
mctx              104 arch/x86/crypto/crc32c-intel_glue.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
mctx              107 arch/x86/crypto/crc32c-intel_glue.c 	*crcp = *mctx;
mctx               61 crypto/crc32_generic.c 	u32 *mctx = crypto_shash_ctx(hash);
mctx               67 crypto/crc32_generic.c 	*mctx = get_unaligned_le32(key);
mctx               73 crypto/crc32_generic.c 	u32 *mctx = crypto_shash_ctx(desc->tfm);
mctx               76 crypto/crc32_generic.c 	*crcp = *mctx;
mctx               59 crypto/crc32c_generic.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
mctx               62 crypto/crc32c_generic.c 	ctx->crc = mctx->key;
mctx               75 crypto/crc32c_generic.c 	struct chksum_ctx *mctx = crypto_shash_ctx(tfm);
mctx               77 crypto/crc32c_generic.c 	if (keylen != sizeof(mctx->key)) {
mctx               81 crypto/crc32c_generic.c 	mctx->key = get_unaligned_le32(key);
mctx              119 crypto/crc32c_generic.c 	struct chksum_ctx *mctx = crypto_shash_ctx(desc->tfm);
mctx              121 crypto/crc32c_generic.c 	return __chksum_finup(&mctx->key, data, length, out);
mctx              126 crypto/crc32c_generic.c 	struct chksum_ctx *mctx = crypto_tfm_ctx(tfm);
mctx              128 crypto/crc32c_generic.c 	mctx->key = ~0;
mctx              141 crypto/md4.c   	struct md4_ctx *mctx = shash_desc_ctx(desc);
mctx              143 crypto/md4.c   	mctx->hash[0] = 0x67452301;
mctx              144 crypto/md4.c   	mctx->hash[1] = 0xefcdab89;
mctx              145 crypto/md4.c   	mctx->hash[2] = 0x98badcfe;
mctx              146 crypto/md4.c   	mctx->hash[3] = 0x10325476;
mctx              147 crypto/md4.c   	mctx->byte_count = 0;
mctx              154 crypto/md4.c   	struct md4_ctx *mctx = shash_desc_ctx(desc);
mctx              155 crypto/md4.c   	const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
mctx              157 crypto/md4.c   	mctx->byte_count += len;
mctx              160 crypto/md4.c   		memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
mctx              165 crypto/md4.c   	memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
mctx              168 crypto/md4.c   	md4_transform_helper(mctx);
mctx              172 crypto/md4.c   	while (len >= sizeof(mctx->block)) {
mctx              173 crypto/md4.c   		memcpy(mctx->block, data, sizeof(mctx->block));
mctx              174 crypto/md4.c   		md4_transform_helper(mctx);
mctx              175 crypto/md4.c   		data += sizeof(mctx->block);
mctx              176 crypto/md4.c   		len -= sizeof(mctx->block);
mctx              179 crypto/md4.c   	memcpy(mctx->block, data, len);
mctx              186 crypto/md4.c   	struct md4_ctx *mctx = shash_desc_ctx(desc);
mctx              187 crypto/md4.c   	const unsigned int offset = mctx->byte_count & 0x3f;
mctx              188 crypto/md4.c   	char *p = (char *)mctx->block + offset;
mctx              194 crypto/md4.c   		md4_transform_helper(mctx);
mctx              195 crypto/md4.c   		p = (char *)mctx->block;
mctx              200 crypto/md4.c   	mctx->block[14] = mctx->byte_count << 3;
mctx              201 crypto/md4.c   	mctx->block[15] = mctx->byte_count >> 29;
mctx              202 crypto/md4.c   	le32_to_cpu_array(mctx->block, (sizeof(mctx->block) -
mctx              204 crypto/md4.c   	md4_transform(mctx->hash, mctx->block);
mctx              205 crypto/md4.c   	cpu_to_le32_array(mctx->hash, ARRAY_SIZE(mctx->hash));
mctx              206 crypto/md4.c   	memcpy(out, mctx->hash, sizeof(mctx->hash));
mctx              207 crypto/md4.c   	memset(mctx, 0, sizeof(*mctx));
mctx              134 crypto/md5.c   	struct md5_state *mctx = shash_desc_ctx(desc);
mctx              136 crypto/md5.c   	mctx->hash[0] = MD5_H0;
mctx              137 crypto/md5.c   	mctx->hash[1] = MD5_H1;
mctx              138 crypto/md5.c   	mctx->hash[2] = MD5_H2;
mctx              139 crypto/md5.c   	mctx->hash[3] = MD5_H3;
mctx              140 crypto/md5.c   	mctx->byte_count = 0;
mctx              147 crypto/md5.c   	struct md5_state *mctx = shash_desc_ctx(desc);
mctx              148 crypto/md5.c   	const u32 avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
mctx              150 crypto/md5.c   	mctx->byte_count += len;
mctx              153 crypto/md5.c   		memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
mctx              158 crypto/md5.c   	memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
mctx              161 crypto/md5.c   	md5_transform_helper(mctx);
mctx              165 crypto/md5.c   	while (len >= sizeof(mctx->block)) {
mctx              166 crypto/md5.c   		memcpy(mctx->block, data, sizeof(mctx->block));
mctx              167 crypto/md5.c   		md5_transform_helper(mctx);
mctx              168 crypto/md5.c   		data += sizeof(mctx->block);
mctx              169 crypto/md5.c   		len -= sizeof(mctx->block);
mctx              172 crypto/md5.c   	memcpy(mctx->block, data, len);
mctx              179 crypto/md5.c   	struct md5_state *mctx = shash_desc_ctx(desc);
mctx              180 crypto/md5.c   	const unsigned int offset = mctx->byte_count & 0x3f;
mctx              181 crypto/md5.c   	char *p = (char *)mctx->block + offset;
mctx              187 crypto/md5.c   		md5_transform_helper(mctx);
mctx              188 crypto/md5.c   		p = (char *)mctx->block;
mctx              193 crypto/md5.c   	mctx->block[14] = mctx->byte_count << 3;
mctx              194 crypto/md5.c   	mctx->block[15] = mctx->byte_count >> 29;
mctx              195 crypto/md5.c   	le32_to_cpu_array(mctx->block, (sizeof(mctx->block) -
mctx              197 crypto/md5.c   	md5_transform(mctx->hash, mctx->block);
mctx              198 crypto/md5.c   	cpu_to_le32_array(mctx->hash, sizeof(mctx->hash) / sizeof(u32));
mctx              199 crypto/md5.c   	memcpy(out, mctx->hash, sizeof(mctx->hash));
mctx              200 crypto/md5.c   	memset(mctx, 0, sizeof(*mctx));
mctx               49 crypto/michael_mic.c 	struct michael_mic_desc_ctx *mctx = shash_desc_ctx(desc);
mctx               51 crypto/michael_mic.c 	mctx->pending_len = 0;
mctx               52 crypto/michael_mic.c 	mctx->l = ctx->l;
mctx               53 crypto/michael_mic.c 	mctx->r = ctx->r;
mctx               62 crypto/michael_mic.c 	struct michael_mic_desc_ctx *mctx = shash_desc_ctx(desc);
mctx               65 crypto/michael_mic.c 	if (mctx->pending_len) {
mctx               66 crypto/michael_mic.c 		int flen = 4 - mctx->pending_len;
mctx               69 crypto/michael_mic.c 		memcpy(&mctx->pending[mctx->pending_len], data, flen);
mctx               70 crypto/michael_mic.c 		mctx->pending_len += flen;
mctx               74 crypto/michael_mic.c 		if (mctx->pending_len < 4)
mctx               77 crypto/michael_mic.c 		src = (const __le32 *)mctx->pending;
mctx               78 crypto/michael_mic.c 		mctx->l ^= le32_to_cpup(src);
mctx               79 crypto/michael_mic.c 		michael_block(mctx->l, mctx->r);
mctx               80 crypto/michael_mic.c 		mctx->pending_len = 0;
mctx               86 crypto/michael_mic.c 		mctx->l ^= le32_to_cpup(src++);
mctx               87 crypto/michael_mic.c 		michael_block(mctx->l, mctx->r);
mctx               92 crypto/michael_mic.c 		mctx->pending_len = len;
mctx               93 crypto/michael_mic.c 		memcpy(mctx->pending, src, len);
mctx              102 crypto/michael_mic.c 	struct michael_mic_desc_ctx *mctx = shash_desc_ctx(desc);
mctx              103 crypto/michael_mic.c 	u8 *data = mctx->pending;
mctx              107 crypto/michael_mic.c 	switch (mctx->pending_len) {
mctx              109 crypto/michael_mic.c 		mctx->l ^= 0x5a;
mctx              112 crypto/michael_mic.c 		mctx->l ^= data[0] | 0x5a00;
mctx              115 crypto/michael_mic.c 		mctx->l ^= data[0] | (data[1] << 8) | 0x5a0000;
mctx              118 crypto/michael_mic.c 		mctx->l ^= data[0] | (data[1] << 8) | (data[2] << 16) |
mctx              122 crypto/michael_mic.c 	michael_block(mctx->l, mctx->r);
mctx              124 crypto/michael_mic.c 	michael_block(mctx->l, mctx->r);
mctx              126 crypto/michael_mic.c 	dst[0] = cpu_to_le32(mctx->l);
mctx              127 crypto/michael_mic.c 	dst[1] = cpu_to_le32(mctx->r);
mctx              136 crypto/michael_mic.c 	struct michael_mic_ctx *mctx = crypto_shash_ctx(tfm);
mctx              145 crypto/michael_mic.c 	mctx->l = le32_to_cpu(data[0]);
mctx              146 crypto/michael_mic.c 	mctx->r = le32_to_cpu(data[1]);
mctx               67 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_ctx *mctx = crypto_tfm_ctx(tfm);
mctx               69 drivers/crypto/stm32/stm32-crc32.c 	mctx->key = CRC_INIT_DEFAULT;
mctx               70 drivers/crypto/stm32/stm32-crc32.c 	mctx->poly = CRC32_POLY_LE;
mctx               76 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_ctx *mctx = crypto_tfm_ctx(tfm);
mctx               78 drivers/crypto/stm32/stm32-crc32.c 	mctx->key = CRC_INIT_DEFAULT;
mctx               79 drivers/crypto/stm32/stm32-crc32.c 	mctx->poly = CRC32C_POLY_LE;
mctx               86 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_ctx *mctx = crypto_shash_ctx(tfm);
mctx               93 drivers/crypto/stm32/stm32-crc32.c 	mctx->key = get_unaligned_le32(key);
mctx              100 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
mctx              113 drivers/crypto/stm32/stm32-crc32.c 	writel_relaxed(bitrev32(mctx->key), ctx->crc->regs + CRC_INIT);
mctx              114 drivers/crypto/stm32/stm32-crc32.c 	writel_relaxed(bitrev32(mctx->poly), ctx->crc->regs + CRC_POL);
mctx              185 drivers/crypto/stm32/stm32-crc32.c 	struct stm32_crc_ctx *mctx = crypto_shash_ctx(desc->tfm);
mctx              188 drivers/crypto/stm32/stm32-crc32.c 	put_unaligned_le32(mctx->poly == CRC32C_POLY_LE ?
mctx             2194 drivers/infiniband/hw/mlx5/main.c 	struct mlx5_ib_ucontext *mctx = to_mucontext(context);
mctx             2201 drivers/infiniband/hw/mlx5/main.c 	if (find_next_zero_bit(mctx->dm_pages, page_idx + npages, page_idx) !=
mctx               13 net/mac80211/michael.c static void michael_block(struct michael_mic_ctx *mctx, u32 val)
mctx               15 net/mac80211/michael.c 	mctx->l ^= val;
mctx               16 net/mac80211/michael.c 	mctx->r ^= rol32(mctx->l, 17);
mctx               17 net/mac80211/michael.c 	mctx->l += mctx->r;
mctx               18 net/mac80211/michael.c 	mctx->r ^= ((mctx->l & 0xff00ff00) >> 8) |
mctx               19 net/mac80211/michael.c 		   ((mctx->l & 0x00ff00ff) << 8);
mctx               20 net/mac80211/michael.c 	mctx->l += mctx->r;
mctx               21 net/mac80211/michael.c 	mctx->r ^= rol32(mctx->l, 3);
mctx               22 net/mac80211/michael.c 	mctx->l += mctx->r;
mctx               23 net/mac80211/michael.c 	mctx->r ^= ror32(mctx->l, 2);
mctx               24 net/mac80211/michael.c 	mctx->l += mctx->r;
mctx               27 net/mac80211/michael.c static void michael_mic_hdr(struct michael_mic_ctx *mctx, const u8 *key,
mctx               39 net/mac80211/michael.c 	mctx->l = get_unaligned_le32(key);
mctx               40 net/mac80211/michael.c 	mctx->r = get_unaligned_le32(key + 4);
mctx               46 net/mac80211/michael.c 	michael_block(mctx, get_unaligned_le32(da));
mctx               47 net/mac80211/michael.c 	michael_block(mctx, get_unaligned_le16(&da[4]) |
mctx               49 net/mac80211/michael.c 	michael_block(mctx, get_unaligned_le32(&sa[2]));
mctx               50 net/mac80211/michael.c 	michael_block(mctx, tid);
mctx               58 net/mac80211/michael.c 	struct michael_mic_ctx mctx;
mctx               60 net/mac80211/michael.c 	michael_mic_hdr(&mctx, key, hdr);
mctx               67 net/mac80211/michael.c 		michael_block(&mctx, get_unaligned_le32(&data[block * 4]));
mctx               78 net/mac80211/michael.c 	michael_block(&mctx, val);
mctx               79 net/mac80211/michael.c 	michael_block(&mctx, 0);
mctx               81 net/mac80211/michael.c 	put_unaligned_le32(mctx.l, mic);
mctx               82 net/mac80211/michael.c 	put_unaligned_le32(mctx.r, mic + 4);
mctx              160 scripts/mod/sumversion.c static void md4_init(struct md4_ctx *mctx)
mctx              162 scripts/mod/sumversion.c 	mctx->hash[0] = 0x67452301;
mctx              163 scripts/mod/sumversion.c 	mctx->hash[1] = 0xefcdab89;
mctx              164 scripts/mod/sumversion.c 	mctx->hash[2] = 0x98badcfe;
mctx              165 scripts/mod/sumversion.c 	mctx->hash[3] = 0x10325476;
mctx              166 scripts/mod/sumversion.c 	mctx->byte_count = 0;
mctx              169 scripts/mod/sumversion.c static void md4_update(struct md4_ctx *mctx,
mctx              172 scripts/mod/sumversion.c 	const uint32_t avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f);
mctx              174 scripts/mod/sumversion.c 	mctx->byte_count += len;
mctx              177 scripts/mod/sumversion.c 		memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
mctx              182 scripts/mod/sumversion.c 	memcpy((char *)mctx->block + (sizeof(mctx->block) - avail),
mctx              185 scripts/mod/sumversion.c 	md4_transform_helper(mctx);
mctx              189 scripts/mod/sumversion.c 	while (len >= sizeof(mctx->block)) {
mctx              190 scripts/mod/sumversion.c 		memcpy(mctx->block, data, sizeof(mctx->block));
mctx              191 scripts/mod/sumversion.c 		md4_transform_helper(mctx);
mctx              192 scripts/mod/sumversion.c 		data += sizeof(mctx->block);
mctx              193 scripts/mod/sumversion.c 		len -= sizeof(mctx->block);
mctx              196 scripts/mod/sumversion.c 	memcpy(mctx->block, data, len);
mctx              199 scripts/mod/sumversion.c static void md4_final_ascii(struct md4_ctx *mctx, char *out, unsigned int len)
mctx              201 scripts/mod/sumversion.c 	const unsigned int offset = mctx->byte_count & 0x3f;
mctx              202 scripts/mod/sumversion.c 	char *p = (char *)mctx->block + offset;
mctx              208 scripts/mod/sumversion.c 		md4_transform_helper(mctx);
mctx              209 scripts/mod/sumversion.c 		p = (char *)mctx->block;
mctx              214 scripts/mod/sumversion.c 	mctx->block[14] = mctx->byte_count << 3;
mctx              215 scripts/mod/sumversion.c 	mctx->block[15] = mctx->byte_count >> 29;
mctx              216 scripts/mod/sumversion.c 	le32_to_cpu_array(mctx->block, (sizeof(mctx->block) -
mctx              218 scripts/mod/sumversion.c 	md4_transform(mctx->hash, mctx->block);
mctx              219 scripts/mod/sumversion.c 	cpu_to_le32_array(mctx->hash, sizeof(mctx->hash) / sizeof(uint32_t));
mctx              222 scripts/mod/sumversion.c 		 mctx->hash[0], mctx->hash[1], mctx->hash[2], mctx->hash[3]);
mctx             1697 tools/perf/builtin-script.c 	struct metric_ctx *mctx = ctx;
mctx             1701 tools/perf/builtin-script.c 	perf_sample__fprintf_start(mctx->sample, mctx->thread, mctx->evsel,
mctx             1702 tools/perf/builtin-script.c 				   PERF_RECORD_SAMPLE, mctx->fp);
mctx             1703 tools/perf/builtin-script.c 	fputs("\tmetric: ", mctx->fp);
mctx             1705 tools/perf/builtin-script.c 		color_fprintf(mctx->fp, color, fmt, val);
mctx             1708 tools/perf/builtin-script.c 	fprintf(mctx->fp, " %s\n", unit);
mctx             1714 tools/perf/builtin-script.c 	struct metric_ctx *mctx = ctx;
mctx             1716 tools/perf/builtin-script.c 	perf_sample__fprintf_start(mctx->sample, mctx->thread, mctx->evsel,
mctx             1717 tools/perf/builtin-script.c 				   PERF_RECORD_SAMPLE, mctx->fp);
mctx             1718 tools/perf/builtin-script.c 	fputs("\tmetric: ", mctx->fp);