diff options
author | Andres Amaya Garcia <Andres.AmayaGarcia@arm.com> | 2017-06-28 10:36:39 +0100 |
---|---|---|
committer | Andres Amaya Garcia <Andres.AmayaGarcia@arm.com> | 2017-06-28 12:52:16 +0100 |
commit | cccfe08530a986a7f8df19df06f2c8b0ee72d1ca (patch) | |
tree | 465674ad708e22050cd849fb10d36eb4cbe7aae7 /library/md5.c | |
parent | 614c689e0548b07a014da93f34fa0f1b147ea369 (diff) |
Rename md process functions with _internal_
Diffstat (limited to 'library/md5.c')
-rw-r--r-- | library/md5.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/md5.c b/library/md5.c index dd046af8..8150f941 100644 --- a/library/md5.c +++ b/library/md5.c @@ -111,8 +111,8 @@ int mbedtls_md5_starts_ext( mbedtls_md5_context *ctx ) } #if !defined(MBEDTLS_MD5_PROCESS_ALT) -int mbedtls_md5_process_ext( mbedtls_md5_context *ctx, - const unsigned char data[64] ) +int mbedtls_internal_md5_process( mbedtls_md5_context *ctx, + const unsigned char data[64] ) { uint32_t X[16], A, B, C, D; @@ -264,7 +264,7 @@ int mbedtls_md5_update_ext( mbedtls_md5_context *ctx, if( left && ilen >= fill ) { memcpy( (void *) (ctx->buffer + left), input, fill ); - if( ( ret = mbedtls_md5_process_ext( ctx, ctx->buffer ) ) != 0 ) + if( ( ret = mbedtls_internal_md5_process( ctx, ctx->buffer ) ) != 0 ) return( ret ); input += fill; @@ -274,7 +274,7 @@ int mbedtls_md5_update_ext( mbedtls_md5_context *ctx, while( ilen >= 64 ) { - if( ( ret = mbedtls_md5_process_ext( ctx, input ) ) != 0 ) + if( ( ret = mbedtls_internal_md5_process( ctx, input ) ) != 0 ) return( ret ); input += 64; |