ctx               139 modules/md5.c  	MD5_CTX ctx;
ctx               142 modules/md5.c  	MD5Init(&ctx);
ctx               144 modules/md5.c  		MD5Update(&ctx, addr[i], len[i]);
ctx               145 modules/md5.c  	MD5Final(mac, &ctx);
ctx               189 modules/md5.c  void MD5Init(struct MD5Context *ctx)
ctx               191 modules/md5.c      ctx->buf[0] = 0x67452301;
ctx               192 modules/md5.c      ctx->buf[1] = 0xefcdab89;
ctx               193 modules/md5.c      ctx->buf[2] = 0x98badcfe;
ctx               194 modules/md5.c      ctx->buf[3] = 0x10325476;
ctx               196 modules/md5.c      ctx->bits[0] = 0;
ctx               197 modules/md5.c      ctx->bits[1] = 0;
ctx               204 modules/md5.c  void MD5Update(struct MD5Context *ctx, unsigned char const *buf, unsigned len)
ctx               210 modules/md5.c      t = ctx->bits[0];
ctx               211 modules/md5.c      if ((ctx->bits[0] = t + ((u32) len << 3)) < t)
ctx               212 modules/md5.c  	ctx->bits[1]++;		/* Carry from low to high */
ctx               213 modules/md5.c      ctx->bits[1] += len >> 29;
ctx               220 modules/md5.c  	unsigned char *p = (unsigned char *) ctx->in + t;
ctx               228 modules/md5.c  	byteReverse(ctx->in, 16);
ctx               229 modules/md5.c  	MD5Transform(ctx->buf, (u32 *) ctx->in);
ctx               236 modules/md5.c  	os_memcpy(ctx->in, buf, 64);
ctx               237 modules/md5.c  	byteReverse(ctx->in, 16);
ctx               238 modules/md5.c  	MD5Transform(ctx->buf, (u32 *) ctx->in);
ctx               245 modules/md5.c      os_memcpy(ctx->in, buf, len);
ctx               252 modules/md5.c  void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
ctx               258 modules/md5.c      count = (ctx->bits[0] >> 3) & 0x3F;
ctx               262 modules/md5.c      p = ctx->in + count;
ctx               272 modules/md5.c  	byteReverse(ctx->in, 16);
ctx               273 modules/md5.c  	MD5Transform(ctx->buf, (u32 *) ctx->in);
ctx               276 modules/md5.c  	os_memset(ctx->in, 0, 56);
ctx               281 modules/md5.c      byteReverse(ctx->in, 14);
ctx               284 modules/md5.c      ((u32 *) ctx->in)[14] = ctx->bits[0];
ctx               285 modules/md5.c      ((u32 *) ctx->in)[15] = ctx->bits[1];
ctx               287 modules/md5.c      MD5Transform(ctx->buf, (u32 *) ctx->in);
ctx               288 modules/md5.c      byteReverse((unsigned char *) ctx->buf, 4);
ctx               289 modules/md5.c      os_memcpy(digest, ctx->buf, 16);
ctx               290 modules/md5.c      os_memset(ctx, 0, sizeof(struct MD5Context));	/* In case it's sensitive */
ctx               397 modules/sha1.c 	SHA1_CTX ctx;
ctx               400 modules/sha1.c 	SHA1Init(&ctx);
ctx               402 modules/sha1.c 		SHA1Update(&ctx, addr[i], len[i]);
ctx               403 modules/sha1.c 	SHA1Final(mac, &ctx);
ctx               485 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall mzrm_msg * mzrm_createmsg(mzrm_context *ctx, int unk, int msg_type, int payload_size);
ctx               486 tools/ghidra_scripts/datatypes/fw_functions.h __stdcall int mzrm_sendmsg(mzrm_context *ctx, mzrm_msg *msg);
ctx               156 tools/ghidra_scripts/datatypes/fw_types.h     void (*maybe_wait_fn)(mzrm_context *ctx);