tinyCrypt: Don't store public ECDH-share in handshake struct

Instead, write it to the message buffer directly.
This commit is contained in:
Hanno Becker 2019-07-24 12:45:52 +01:00
parent b1626fb619
commit 8295ff0b04
3 changed files with 14 additions and 20 deletions

View file

@ -552,7 +552,6 @@ struct mbedtls_ssl_handshake_params
#if defined(MBEDTLS_USE_TINYCRYPT)
uint8_t ecdh_privkey[NUM_ECC_BYTES];
uint8_t ecdh_ownpubkey[2*NUM_ECC_BYTES];
uint8_t ecdh_peerkey[2*NUM_ECC_BYTES];
#endif /* MBEDTLS_USE_TINYCRYPT */
};