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

Hello ACK Message rfc 5.3 This message contains no data but only a length and message type which are stored in the bzrtpPacket_t structure There the no need to define a structure type for this packet. More...

#include <packetParser.h>

Data Fields

uint8_t H2 [32]
 
uint8_t ZID [12]
 
uint8_t hashAlgo
 
uint8_t cipherAlgo
 
uint8_t authTagAlgo
 
uint8_t keyAgreementAlgo
 
uint8_t sasAlgo
 
uint8_t hvi [32]
 
uint8_t nonce [16]
 
uint8_t keyID [8]
 
uint8_tpv
 
uint8_t MAC [8]
 

Detailed Description

Hello ACK Message rfc 5.3 This message contains no data but only a length and message type which are stored in the bzrtpPacket_t structure There the no need to define a structure type for this packet.

Commit Message rfc 5.4 This message can be of 3 different types: DHM, PreShared and Multistream, some field of it may be used only by certain type of message It is generated by the initiator (see section 4.2 for commit contention)

Field Documentation

◆ authTagAlgo

uint8_t bzrtpCommitMessage_struct::authTagAlgo

the auth tag algorithm identifier rfc section 5.1.4 mapped to an integer

◆ cipherAlgo

uint8_t bzrtpCommitMessage_struct::cipherAlgo

the cipher algorithm identifier rfc section 5.1.3 mapped to an integer

◆ H2

uint8_t bzrtpCommitMessage_struct::H2[32]

the hash image H2 (256 bits)

◆ hashAlgo

uint8_t bzrtpCommitMessage_struct::hashAlgo

the hash algorithm identifier rfc section 5.1.2 mapped to an integer

◆ hvi

uint8_t bzrtpCommitMessage_struct::hvi[32]

only for DH commit : a hash of initiator's DHPart2 and responder's Hello message rfc section 4.4.1.1

◆ keyAgreementAlgo

uint8_t bzrtpCommitMessage_struct::keyAgreementAlgo

the key agreement algorithm identifier rfc section 5.1.5. It can either be a key exchange algorithm or the commit packet type in case of preShared or multistream commit message mapped to an integer

◆ keyID

uint8_t bzrtpCommitMessage_struct::keyID[8]

only for preShared mode : the preshared key identifier

◆ MAC

uint8_t bzrtpCommitMessage_struct::MAC[8]

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

◆ nonce

uint8_t bzrtpCommitMessage_struct::nonce[16]

only for preShared or Multistream modes : a 128 bits random number generated by the initiator

◆ pv

uint8_t* bzrtpCommitMessage_struct::pv

Key exchange public value (length depends on key agreement type), present only in KEM mode it then holds the public key

◆ sasAlgo

uint8_t bzrtpCommitMessage_struct::sasAlgo

the sas rendering algorithm identifier rfc section 5.1.6 mapped to an integer

◆ ZID

uint8_t bzrtpCommitMessage_struct::ZID[12]

initiator's unique identifier for ZRTP endpoint (96 bits)


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