mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 23:35:49 +01:00
5d397686a9
This commit adds declarations and dummy implementations for the restructured outgoing client key exchange handling that will replace the previous ssl_write_client_key_exchange(). The entry point for the CliKeyExchange handling that is called from the handshake state machine is `ssl_process_client_key_exchange()`, splitting the processing into the following steps: - Preparation Compute the keying material to be sent. * For (EC)DH: Pick parameters and compute PMS. * For ECJPAKE: Run round 2 * For RSA: Encrypt PMS - Writing: Prepare the writing of a new messae. - Postprocessing: Update handstate state machine. The subsequent commits will scatter the code from the previous monolithic function ssl_write_client_key_exchange() among those dedicated functions, commenting out each part of ssl_write_client_key_exchange() that has already been dealt with. This gradual progression is meant to ease reviewing. Once all code has been moved and all changes explained, ssl_write_client_key_exchange() will be removed. |
||
---|---|---|
.. | ||
mbedtls | ||
tinycrypt | ||
.gitignore | ||
CMakeLists.txt |