mirror of
https://git.suyu.dev/suyu/mbedtls.git
synced 2026-03-23 19:38:42 +00: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