bZRTP
bZRTP is an opensource implementation of ZRTP keys exchange protocol
Loading...
Searching...
No Matches
Data Fields
bzrtpHelloMessage_struct Struct Reference

Hello Message rfc 5.2. More...

#include <packetParser.h>

Data Fields

uint8_t version [4]
 
uint8_t clientIdentifier [17]
 
uint8_t H3 [32]
 
uint8_t ZID [12]
 
uint8_t S
 
uint8_t M
 
uint8_t P
 
uint8_t hc
 
uint8_t supportedHash [7]
 
uint8_t cc
 
uint8_t supportedCipher [7]
 
uint8_t ac
 
uint8_t supportedAuthTag [7]
 
uint8_t kc
 
uint8_t supportedKeyAgreement [7]
 
uint8_t sc
 
uint8_t supportedSas [7]
 
uint8_t MAC [8]
 

Detailed Description

Hello Message rfc 5.2.

Structure definition for all zrtp message type according to rfc section 5.2 to 5.16

Field Documentation

◆ ac

uint8_t bzrtpHelloMessage_struct::ac

auth tag count - set to 0 mean we support only HMAC-SHA1-32 (4 bits)

◆ cc

uint8_t bzrtpHelloMessage_struct::cc

cipher count - set to 0 means we support only AES128-CFB128 (4 bits)

◆ clientIdentifier

uint8_t bzrtpHelloMessage_struct::clientIdentifier[17]

a string identifing the vendor and release of ZRTP software, actual content is 16, but last character forced to '\0'

◆ H3

uint8_t bzrtpHelloMessage_struct::H3[32]

the hash image H3 (256 bits)

◆ hc

uint8_t bzrtpHelloMessage_struct::hc

hash count -zrtpPacket set to 0 means we support only HMAC-SHA256 (4 bits)

◆ kc

uint8_t bzrtpHelloMessage_struct::kc

key agreement count - set to 0 means we support only Diffie-Hellman-Merkle 3072 (4 bits)

◆ M

uint8_t bzrtpHelloMessage_struct::M

The MiTM flag (M) is a Boolean that is set to true if and only if this Hello message is sent from a device, usually a PBX, that has the capability to send an SASrelay message (1 bit)

◆ MAC

uint8_t bzrtpHelloMessage_struct::MAC[8]

HMAC over the whole message, keyed by the hash image H2 (64 bits)

◆ P

uint8_t bzrtpHelloMessage_struct::P

The Passive flag (P) is a Boolean normally set to false, and is set to true if and only if this Hello message is sent from a device that is configured to never send a Commit message (Section 5.4). This would mean it cannot initiate secure sessions, but may act as a responder. (1 bit)

◆ S

uint8_t bzrtpHelloMessage_struct::S

The signature-capable flag. If signatures are not supported, the (S) flag MUST be set to zero (1 bit)

◆ sc

uint8_t bzrtpHelloMessage_struct::sc

sas count - set to 0 means we support only base32 (4 bits)

◆ supportedAuthTag

uint8_t bzrtpHelloMessage_struct::supportedAuthTag[7]

list of supported SRTP authentication tag algorithms mapped to uint8_t

◆ supportedCipher

uint8_t bzrtpHelloMessage_struct::supportedCipher[7]

list of supported cipher algorithms mapped to uint8_t

◆ supportedHash

uint8_t bzrtpHelloMessage_struct::supportedHash[7]

list of supported hash algorithms mapped to uint8_t

◆ supportedKeyAgreement

uint8_t bzrtpHelloMessage_struct::supportedKeyAgreement[7]

list of supported key agreement algorithms mapped to uint8_t

◆ supportedSas

uint8_t bzrtpHelloMessage_struct::supportedSas[7]

list of supported Sas representations (4 chars string)

◆ version

uint8_t bzrtpHelloMessage_struct::version[4]

a string defining the current version, shall be 1.10

◆ ZID

uint8_t bzrtpHelloMessage_struct::ZID[12]

unique identifier for ZRTP endpoint (96 bits)


The documentation for this struct was generated from the following file: