aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-smb2.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2021-07-15 00:16:03 +0200
committerA Wireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2022-02-02 07:54:40 +0000
commita979189ab056607dd102373843cc8c54af5d879a (patch)
tree5731e29e556c90a9751485d66fc6cf30d19c4e1f /epan/dissectors/packet-smb2.h
parenta30d6a442eba65ea642617f22f1d43e54c53b7de (diff)
packet-smb2: add AES-256-* decryption
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'epan/dissectors/packet-smb2.h')
-rw-r--r--epan/dissectors/packet-smb2.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-smb2.h b/epan/dissectors/packet-smb2.h
index 107da49776..3bed201336 100644
--- a/epan/dissectors/packet-smb2.h
+++ b/epan/dissectors/packet-smb2.h
@@ -93,8 +93,10 @@ typedef struct _smb2_sesid_info_t {
guint16 server_port;
guint8 session_key[NTLMSSP_KEY_LEN];
guint8 signing_key[NTLMSSP_KEY_LEN];
- guint8 client_decryption_key[AES_KEY_SIZE];
- guint8 server_decryption_key[AES_KEY_SIZE];
+ guint8 client_decryption_key16[AES_KEY_SIZE];
+ guint8 server_decryption_key16[AES_KEY_SIZE];
+ guint8 client_decryption_key32[AES_KEY_SIZE*2];
+ guint8 server_decryption_key32[AES_KEY_SIZE*2];
wmem_map_t *tids;
wmem_map_t *fids;
@@ -112,6 +114,7 @@ typedef struct _smb2_conv_info_t {
GHashTable *unmatched;
GHashTable *matched;
guint16 dialect;
+ guint16 sign_alg;
guint16 enc_alg;
/* preauth hash before session setup */