Searched refs:mctx (Results 1 – 1 of 1) sorted by relevance
160 static void md4_init(struct md4_ctx *mctx) in md4_init() argument162 mctx->hash[0] = 0x67452301; in md4_init()163 mctx->hash[1] = 0xefcdab89; in md4_init()164 mctx->hash[2] = 0x98badcfe; in md4_init()165 mctx->hash[3] = 0x10325476; in md4_init()166 mctx->byte_count = 0; in md4_init()169 static void md4_update(struct md4_ctx *mctx, in md4_update() argument172 const uint32_t avail = sizeof(mctx->block) - (mctx->byte_count & 0x3f); in md4_update()174 mctx->byte_count += len; in md4_update()177 memcpy((char *)mctx->block + (sizeof(mctx->block) - avail), in md4_update()[all …]