WireGuard: implement initiation message decryption with static keys
authorPeter Wu <peter@lekensteyn.nl>
Tue, 24 Jul 2018 21:50:51 +0000 (23:50 +0200)
committerAnders Broman <a.broman58@gmail.com>
Wed, 8 Aug 2018 11:25:22 +0000 (11:25 +0000)
commit5b61737dc997a63f799680c1d06c80a905d5d929
tree4dbdf3dba8e654be536136fde3d343e29bfb0567
parentcf9f1cac07130e3da2ef5e51c9232b7c206dcde2
WireGuard: implement initiation message decryption with static keys

Enable decryption of the static and timestamp fields when the private
static key of the responder is known. Decryption of the initiation and
response messages using private ephemeral keys will be done later.

Bug: 15011
Change-Id: Ifc9729059694700333b6677374ab467c8cb64263
Reviewed-on: https://code.wireshark.org/review/28989
Reviewed-by: Anders Broman <a.broman58@gmail.com>
epan/dissectors/packet-wireguard.c
test/suite_decryption.py