URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=830ea5731a496469738f5f9abfb34309b9bcd407
Submitter: Peter Wu (peter@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
830ea57 by Mališa Vučinić (malishav@xxxxxxxxx):
CoAP: Hooks to OSCORE
Structure oscore_info_t carries parameters needed by OSCORE for
decryption. These parameters are communicated in the CoAP layer within
the Object-Security option. To decrypt a response, OSCORE needs the
parameters from the corresponding request. Matching of responses to
requests on the CoAP layer is leveraged to pass the correct parameters
to OSCORE. This change adds an oscore_info_t pointer to coap_info and
coap_transaction structures in order to pass the parameters on to the
OSCORE dissector. Dissection of Object-Security option is reworked to
make use of the new coap_info element, instead of relying on local
variables.
Bug: 14417
Change-Id: I173057ba95407675aaa539ddbff51d02337551bc
Reviewed-on: https://code.wireshark.org/review/25481
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Actions performed:
from ee901c5 OSCORE: Add the new dissector - decrypt and verify the authenticity of requests
adds 830ea57 CoAP: Hooks to OSCORE
Summary of changes:
epan/dissectors/packet-coap.c | 108 +++++++++++++++++++++++++++++++++---------
epan/dissectors/packet-coap.h | 6 ++-
2 files changed, 90 insertions(+), 24 deletions(-)