]> git.ipfire.org Git - thirdparty/strongswan.git/commit
wolfssl: Move shared secret calculation to get_shared_secret()
authorTobias Brunner <tobias@strongswan.org>
Fri, 23 Jul 2021 15:29:41 +0000 (17:29 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 29 Jun 2022 08:28:50 +0000 (10:28 +0200)
commit4e5a2037e7b48eed1fd012bfb60ab09cc0fb235c
tree4fe6d03c345ae74356982b04561196df513e6337
parent26ca0c9f70ed51dbd2d7113209d3e59cda1df3cf
wolfssl: Move shared secret calculation to get_shared_secret()

The ECDH implementation gets a bit simpler since we removed the
ecp_x_coordinate_only option a while ago.

Also added calls to verify public keys.
src/libstrongswan/plugins/wolfssl/wolfssl_diffie_hellman.c
src/libstrongswan/plugins/wolfssl/wolfssl_ec_diffie_hellman.c
src/libstrongswan/plugins/wolfssl/wolfssl_x_diffie_hellman.c