]> git.ipfire.org Git - thirdparty/strongswan.git/commit
gmp: Move shared secret calculation to get_shared_secret()
authorTobias Brunner <tobias@strongswan.org>
Mon, 19 Jul 2021 15:27:53 +0000 (17:27 +0200)
committerTobias Brunner <tobias@strongswan.org>
Wed, 29 Jun 2022 08:28:50 +0000 (10:28 +0200)
commit0e82d5cc2cb969744386cca1e02caf7da7f8de63
tree80bc6fd50630841b0a66720d8e7ccd9ab5091fad
parent0351b5af3bebf5331743343203f4c857796630cb
gmp: Move shared secret calculation to get_shared_secret()

This avoids doing costly operations when just setting the public key.
For the same reason the optional extended public key check is moved.
src/libstrongswan/plugins/gmp/gmp_diffie_hellman.c