key-exchange: Add dynamic parser for additional key exchange methods

This commit is contained in:
Tobias Brunner
2024-08-07 16:20:18 +02:00
parent 95275d2fe5
commit e05d86b27a
3 changed files with 86 additions and 4 deletions
+7 -2
View File
@@ -178,9 +178,14 @@ struct diffie_hellman_params_t {
};
/**
* Initialize diffie hellman parameters during startup.
* Initialize DH parameters and KE token parser during startup.
*/
void diffie_hellman_init();
void key_exchange_init();
/**
* Deinitialize KE token parser during shutdown.
*/
void key_exchange_deinit();
/**
* Get the parameters associated with the specified Diffie-Hellman group.