Rename diffie_hellman_t to key_exchange_t and change the interface etc.

This makes it more generic so we can use it for QSKE methods.
This commit is contained in:
Tobias Brunner
2022-06-29 10:28:50 +02:00
parent ec95fd9b93
commit 3af7c6db87
130 changed files with 1379 additions and 1384 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ METHOD(listener_t, message, bool,
{
ke = (ke_payload_t*)payload;
DBG1(DBG_CFG, "received DH group %N",
diffie_hellman_group_names, ke->get_dh_group_number(ke));
key_exchange_method_names, ke->get_key_exchange_method(ke));
}
}
enumerator->destroy(enumerator);
+1 -1
View File
@@ -110,7 +110,7 @@ METHOD(listener_t, message, bool,
copy_proposal_algs(proposal, new, ENCRYPTION_ALGORITHM);
copy_proposal_algs(proposal, new, INTEGRITY_ALGORITHM);
copy_proposal_algs(proposal, new, PSEUDO_RANDOM_FUNCTION);
copy_proposal_algs(proposal, new, DIFFIE_HELLMAN_GROUP);
copy_proposal_algs(proposal, new, KEY_EXCHANGE_METHOD);
copy_proposal_algs(proposal, new, EXTENDED_SEQUENCE_NUMBERS);
updated->insert_last(updated, new);
}