tls-crypto: Add method to update application traffic keys
This commit is contained in:
@@ -574,6 +574,14 @@ struct tls_crypto_t {
|
||||
*/
|
||||
bool (*derive_app_keys)(tls_crypto_t *this);
|
||||
|
||||
/**
|
||||
* Update the application keys.
|
||||
*
|
||||
* @param inbound whether to update the in- or outbound keys
|
||||
* @return TRUE if secret derived successfully
|
||||
*/
|
||||
bool (*update_app_keys)(tls_crypto_t *this, bool inbound);
|
||||
|
||||
/**
|
||||
* Try to resume a TLS session, derive key material.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user