md5: remove outdated comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
302ad1450e
commit
7ab94ca351
@ -461,9 +461,7 @@ void FAST_FUNC md5_end(md5_ctx_t *ctx, void *resbuf)
|
|||||||
/* MD5 stores total in LE, need to swap on BE arches: */
|
/* MD5 stores total in LE, need to swap on BE arches: */
|
||||||
common64_end(ctx, /*swap_needed:*/ BB_BIG_ENDIAN);
|
common64_end(ctx, /*swap_needed:*/ BB_BIG_ENDIAN);
|
||||||
|
|
||||||
/* The MD5 result is in little endian byte order.
|
/* The MD5 result is in little endian byte order */
|
||||||
* We (ab)use the fact that A-D are consecutive in memory.
|
|
||||||
*/
|
|
||||||
#if BB_BIG_ENDIAN
|
#if BB_BIG_ENDIAN
|
||||||
ctx->hash[0] = SWAP_LE32(ctx->hash[0]);
|
ctx->hash[0] = SWAP_LE32(ctx->hash[0]);
|
||||||
ctx->hash[1] = SWAP_LE32(ctx->hash[1]);
|
ctx->hash[1] = SWAP_LE32(ctx->hash[1]);
|
||||||
|
Loading…
Reference in New Issue
Block a user