libbb/md5.c: remove wrong comment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -373,7 +373,8 @@ void FAST_FUNC md5_hash(const void *buffer, size_t len, md5_ctx_t *ctx)
|
|||||||
unsigned i = 64 - ctx->buflen;
|
unsigned i = 64 - ctx->buflen;
|
||||||
|
|
||||||
/* Copy data into aligned buffer. */
|
/* Copy data into aligned buffer. */
|
||||||
if (i > len) i = len;
|
if (i > len)
|
||||||
|
i = len;
|
||||||
memcpy(ctx->buffer + ctx->buflen, buf, i);
|
memcpy(ctx->buffer + ctx->buflen, buf, i);
|
||||||
len -= i;
|
len -= i;
|
||||||
ctx->buflen += i;
|
ctx->buflen += i;
|
||||||
@ -391,9 +392,6 @@ void FAST_FUNC md5_hash(const void *buffer, size_t len, md5_ctx_t *ctx)
|
|||||||
* in first 16 bytes following RESBUF. The result is always in little
|
* in first 16 bytes following RESBUF. The result is always in little
|
||||||
* endian byte order, so that a byte-wise output yields to the wanted
|
* endian byte order, so that a byte-wise output yields to the wanted
|
||||||
* ASCII representation of the message digest.
|
* ASCII representation of the message digest.
|
||||||
*
|
|
||||||
* IMPORTANT: On some systems it is required that RESBUF is correctly
|
|
||||||
* aligned for a 32 bits value.
|
|
||||||
*/
|
*/
|
||||||
void FAST_FUNC md5_end(void *resbuf, md5_ctx_t *ctx)
|
void FAST_FUNC md5_end(void *resbuf, md5_ctx_t *ctx)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user