Implemented key derivation, output record signing and encryption
[strongswan.git] / src / charon / plugins / eap_tls / tls / tls_crypto.h
index c2cb175..6727643 100644 (file)
@@ -60,6 +60,13 @@ struct tls_crypto_t {
                                                                 chunk_t client_random, chunk_t server_random);
 
        /**
+        * Change the cipher used at protection layer.
+        *
+        * @param inbound               TRUE to change inbound cipher, FALSE for outbound
+        */
+       void (*change_cipher)(tls_crypto_t *this, bool inbound);
+
+       /**
         * Get the connection state PRF.
         *
         * @return                              PRF, NULL if not supported