ProtoCore v1.0.16
Deterministic, zero-heap network stack for embedded targets
Loading...
Searching...
No Matches
Smb2NegotiateContexts Struct Reference

Parsed SMB 3.1.1 NEGOTIATE-response negotiate contexts (MS-SMB2 §2.2.4 / §2.2.3.1). More...

#include <smb2.h>

Public Attributes

embed_bool have_preauth
 a PREAUTH_INTEGRITY_CAPABILITIES context was present
uint16_t hash_algorithm
 the server's chosen preauth hash (expect SMB2_PREAUTH_INTEGRITY_SHA512)
const uint8_t * salt
 the preauth-integrity salt (points into msg), or nullptr
uint16_t salt_len
 length of salt
embed_bool have_signing
 a SIGNING_CAPABILITIES context was present
uint16_t signing_algorithm
 the server's chosen signing algorithm
embed_bool have_encryption
 an ENCRYPTION_CAPABILITIES context was present
uint16_t cipher
 the server's chosen cipher

Detailed Description

Parsed SMB 3.1.1 NEGOTIATE-response negotiate contexts (MS-SMB2 §2.2.4 / §2.2.3.1).

Definition at line 186 of file smb2.h.

Member Data Documentation

◆ have_preauth

embed_bool Smb2NegotiateContexts::have_preauth

a PREAUTH_INTEGRITY_CAPABILITIES context was present

Definition at line 188 of file smb2.h.

◆ hash_algorithm

uint16_t Smb2NegotiateContexts::hash_algorithm

the server's chosen preauth hash (expect SMB2_PREAUTH_INTEGRITY_SHA512)

Definition at line 189 of file smb2.h.

◆ salt

const uint8_t* Smb2NegotiateContexts::salt

the preauth-integrity salt (points into msg), or nullptr

Definition at line 190 of file smb2.h.

◆ salt_len

uint16_t Smb2NegotiateContexts::salt_len

length of salt

Definition at line 191 of file smb2.h.

◆ have_signing

embed_bool Smb2NegotiateContexts::have_signing

a SIGNING_CAPABILITIES context was present

Definition at line 192 of file smb2.h.

◆ signing_algorithm

uint16_t Smb2NegotiateContexts::signing_algorithm

the server's chosen signing algorithm

Definition at line 193 of file smb2.h.

◆ have_encryption

embed_bool Smb2NegotiateContexts::have_encryption

an ENCRYPTION_CAPABILITIES context was present

Definition at line 194 of file smb2.h.

◆ cipher

uint16_t Smb2NegotiateContexts::cipher

the server's chosen cipher

Definition at line 195 of file smb2.h.


The documentation for this struct was generated from the following file:
  • src/network_drivers/application/smb/smb2/smb2.h