diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2014-03-10 14:04:30 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2014-03-10 13:12:46 +0000 |
commit | 784808ca861611c86f0a6455114006cc28b969b1 (patch) | |
tree | dea109a5b26b3d4751b559738eaf661a37c03aae /epan/dissectors/packet-pdcp-lte.h | |
parent | b996e8aec2182fdd94ec518b3335eb5d16a5d28c (diff) |
PDCP LTE: various fixes related to security handling
- fixes the wrap multiplier (for COUNT) for 12-bit sequence numbers
- fixes dissection of non-ciphered IP payloads
- adds a way for private protocols to set keys. The ueid->key lookup is now broken out into a separate function, and these settings are used in preference to the UAT ones
Change-Id: I723307df3ee20425897b82beb9b431a0860075cf
Reviewed-on: https://code.wireshark.org/review/583
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-pdcp-lte.h')
-rw-r--r-- | epan/dissectors/packet-pdcp-lte.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/epan/dissectors/packet-pdcp-lte.h b/epan/dissectors/packet-pdcp-lte.h index ff8f579eaf..b1b63b3127 100644 --- a/epan/dissectors/packet-pdcp-lte.h +++ b/epan/dissectors/packet-pdcp-lte.h @@ -175,6 +175,8 @@ typedef struct pdcp_lte_info +/* Called by RRC, or other configuration protocols */ + /* Function to configure ciphering & integrity algorithms */ void set_pdcp_lte_security_algorithms(guint16 ueid, pdcp_security_info_t *security_info); @@ -182,3 +184,7 @@ void set_pdcp_lte_security_algorithms(guint16 ueid, pdcp_security_info_t *securi void set_pdcp_lte_security_algorithms_failed(guint16 ueid); +/* Called by external dissectors */ +void set_pdcp_lte_rrc_ciphering_key(guint16 ueid, const char *key); +void set_pdcp_lte_rrc_integrity_key(guint16 ueid, const char *key); +void set_pdcp_lte_up_ciphering_key(guint16 ueid, const char *key); |