Home
last modified time | relevance | path

Searched refs:swap_bytes (Results 1 – 2 of 2) sorted by relevance

/toolchain/binutils/binutils-2.25/libiberty/
Dmd5.c106 md5_uint32 swap_bytes; in md5_finish_ctx() local
120 swap_bytes = SWAP (ctx->total[0] << 3); in md5_finish_ctx()
121 memcpy (&ctx->buffer[bytes + pad], &swap_bytes, sizeof (swap_bytes)); in md5_finish_ctx()
122 swap_bytes = SWAP ((ctx->total[1] << 3) | (ctx->total[0] >> 29)); in md5_finish_ctx()
123 memcpy (&ctx->buffer[bytes + pad + 4], &swap_bytes, sizeof (swap_bytes)); in md5_finish_ctx()
DChangeLog485 * md5.c (md5_finish_ctx): Declare swap_bytes. Assign SWAP() output
486 to swap_bytes, and then call memcpy to move it to ctx->buffer.