mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-21 21:36:21 +01:00
Add XXX_PROCESS_ALT mecchanism
This commit is contained in:
parent
26c9f90cae
commit
427b672551
9 changed files with 52 additions and 4 deletions
|
|
@ -107,6 +107,7 @@ void md5_starts( md5_context *ctx )
|
|||
ctx->state[3] = 0x10325476;
|
||||
}
|
||||
|
||||
#if !defined(POLARSSL_MD5_PROCESS_ALT)
|
||||
void md5_process( md5_context *ctx, const unsigned char data[64] )
|
||||
{
|
||||
uint32_t X[16], A, B, C, D;
|
||||
|
|
@ -229,6 +230,7 @@ void md5_process( md5_context *ctx, const unsigned char data[64] )
|
|||
ctx->state[2] += C;
|
||||
ctx->state[3] += D;
|
||||
}
|
||||
#endif /* !POLARSSL_MD5_PROCESS_ALT */
|
||||
|
||||
/*
|
||||
* MD5 process buffer
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue