tinyCrypt: Don't store public ECDH-share in handshake struct
Instead, write it to the message buffer directly.
This commit is contained in:
parent
b1626fb619
commit
8295ff0b04
3 changed files with 14 additions and 20 deletions
|
@ -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 */
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue