From ba4888ed62baad4c794d26a097dd0889bd4f6559 Mon Sep 17 00:00:00 2001
From: Philip Rosenberg-Watt
Date: Thu, 28 Apr 2016 14:25:13 -0600
Subject: Update BPKM Auth Reply key length for DOCSIS 3.1
Wireshark was failing to parse DOCSIS 3.1 BPKM Response (Auth Reply)
messages with a key length of 256 bytes, which is in the DOCSIS 3.1
specification located here:
http://www.cablelabs.com/specification/docsis-3-1-security-specification/
See Appendix I.4 "Authorization Reply"
Change-Id: Ic50eb4a2d637a7bc47385b7c0a96c830f7a920be
Reviewed-on: https://code.wireshark.org/review/15149
Reviewed-by: Alexis La Goutte
Petri-Dish: Alexis La Goutte
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman
---
plugins/docsis/packet-bpkmattr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
(limited to 'plugins/docsis')
diff --git a/plugins/docsis/packet-bpkmattr.c b/plugins/docsis/packet-bpkmattr.c
index 618165c401..4b707e8d95 100644
--- a/plugins/docsis/packet-bpkmattr.c
+++ b/plugins/docsis/packet-bpkmattr.c
@@ -190,7 +190,7 @@ dissect_attrs (tvbuff_t * tvb, packet_info * pinfo, proto_tree * tree)
length, ENC_ASCII|ENC_NA);
break;
case BPKM_AUTH_KEY:
- if ((length == 96) || (length == 128))
+ if ((length == 96) || (length == 128) || (length == 256))
proto_tree_add_item (tree, hf_docsis_bpkmattr_auth_key, tvb, pos,
length, ENC_NA);
else
--
cgit v1.2.3