mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-03-30 01:56:32 +02:00
Adjust struct layout for small size win
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
509b567911
commit
2aaf888e0b
|
|
@ -50,9 +50,9 @@ extern "C" {
|
|||
* made in the call to mbedtls_sha256_starts().
|
||||
*/
|
||||
typedef struct mbedtls_sha256_context {
|
||||
unsigned char MBEDTLS_PRIVATE(buffer)[64]; /*!< The data block being processed. */
|
||||
uint32_t MBEDTLS_PRIVATE(total)[2]; /*!< The number of Bytes processed. */
|
||||
uint32_t MBEDTLS_PRIVATE(state)[8]; /*!< The intermediate digest state. */
|
||||
unsigned char MBEDTLS_PRIVATE(buffer)[64]; /*!< The data block being processed. */
|
||||
int MBEDTLS_PRIVATE(is224); /*!< Determines which function to use:
|
||||
0: Use SHA-256, or 1: Use SHA-224. */
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue