mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-07-28 00:21:48 +03:00
Entropy collector and CTR-DRBG now also work on SHA-256 if SHA-512 not available
This commit is contained in:
@ -439,7 +439,9 @@ struct _ssl_handshake_params
|
||||
md5_context fin_md5;
|
||||
sha1_context fin_sha1;
|
||||
sha256_context fin_sha256;
|
||||
#if defined(POLARSSL_SHA512_C)
|
||||
sha512_context fin_sha512;
|
||||
#endif
|
||||
|
||||
void (*update_checksum)(ssl_context *, const unsigned char *, size_t);
|
||||
void (*calc_verify)(ssl_context *, unsigned char *);
|
||||
|
Reference in New Issue
Block a user