diff options
Diffstat (limited to 'lib/md5.c')
-rw-r--r-- | lib/md5.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,7 +49,7 @@ void md5_starts( md5_context *ctx ) ctx->state[3] = 0x10325476; } -void md5_process( md5_context *ctx, uint8 data[64] ) +void md5_process( md5_context *ctx, const uint8 data[64] ) { uint32 X[16], A, B, C, D; @@ -172,7 +172,7 @@ void md5_process( md5_context *ctx, uint8 data[64] ) ctx->state[3] += D; } -void md5_update( md5_context *ctx, uint8 *input, uint32 length ) +void md5_update( md5_context *ctx, const uint8 *input, uint32 length ) { uint32 left, fill; |