mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Rename md process functions with _internal_
This commit is contained in:
parent
614c689e05
commit
cccfe08530
14 changed files with 54 additions and 54 deletions
|
|
@ -181,7 +181,7 @@ static const uint32_t K[] =
|
|||
d += temp1; h = temp1 + temp2; \
|
||||
}
|
||||
|
||||
int mbedtls_sha256_process_ext( mbedtls_sha256_context *ctx,
|
||||
int mbedtls_internal_sha256_process( mbedtls_sha256_context *ctx,
|
||||
const unsigned char data[64] )
|
||||
{
|
||||
uint32_t temp1, temp2, W[64];
|
||||
|
|
@ -267,7 +267,7 @@ int mbedtls_sha256_update_ext( mbedtls_sha256_context *ctx,
|
|||
{
|
||||
memcpy( (void *) (ctx->buffer + left), input, fill );
|
||||
|
||||
if( ( ret = mbedtls_sha256_process_ext( ctx, ctx->buffer ) ) != 0 )
|
||||
if( ( ret = mbedtls_internal_sha256_process( ctx, ctx->buffer ) ) != 0 )
|
||||
return( ret );
|
||||
|
||||
input += fill;
|
||||
|
|
@ -277,7 +277,7 @@ int mbedtls_sha256_update_ext( mbedtls_sha256_context *ctx,
|
|||
|
||||
while( ilen >= 64 )
|
||||
{
|
||||
if( ( ret = mbedtls_sha256_process_ext( ctx, input ) ) != 0 )
|
||||
if( ( ret = mbedtls_internal_sha256_process( ctx, input ) ) != 0 )
|
||||
return( ret );
|
||||
|
||||
input += 64;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue