mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2025-12-23 15:55:10 +01:00
Added md_process() to MD layer for generic internal access to hash
process functions Access to process functions is needed to reduce possible timing attacks on SSL MAC checks. As SSL is set to move to using the dynamic MD layer, the MD layer needs access to these process functions as well.
This commit is contained in:
parent
90f042d4cb
commit
1bd3ae826c
9 changed files with 77 additions and 3 deletions
|
|
@ -76,7 +76,7 @@ void md4_starts( md4_context *ctx )
|
|||
ctx->state[3] = 0x10325476;
|
||||
}
|
||||
|
||||
static void md4_process( md4_context *ctx, const unsigned char data[64] )
|
||||
void md4_process( md4_context *ctx, const unsigned char data[64] )
|
||||
{
|
||||
uint32_t X[16], A, B, C, D;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue