MCPcopy Create free account
hub / github.com/bfbbdecomp/bfbb / Decode

Function Decode

src/dolphin/src/eth/md5.c:278–285  ·  view source on GitHub ↗

Decodes input (u8) into output (u32). Assumes len is a multiple of 4. */

Source from the content-addressed store, hash-verified

276 a multiple of 4.
277 */
278static void Decode(u32* output, u8* input, u32 len)
279{
280 u32 i, j;
281
282 for (i = 0, j = 0; j < len; i++, j += 4)
283 output[i] = ((u32)input[j]) | (((u32)input[j+1]) << 8) |
284 (((u32)input[j+2]) << 16) | (((u32)input[j+3]) << 24);
285}

Callers 1

MD5TransformFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected