bZRTP
bZRTP is an opensource implementation of ZRTP keys exchange protocol
Data Fields
bzrtpSrtpSecrets_struct Struct Reference

Data Fields

uint8_tselfSrtpKey
 
uint8_t selfSrtpKeyLength
 
uint8_tselfSrtpSalt
 
uint8_t selfSrtpSaltLength
 
uint8_tpeerSrtpKey
 
uint8_t peerSrtpKeyLength
 
uint8_tpeerSrtpSalt
 
uint8_t peerSrtpSaltLength
 
uint8_t cipherAlgo
 
uint8_t cipherKeyLength
 
uint8_t authTagAlgo
 
char * sas
 
uint8_t sasLength
 
uint8_t hashAlgo
 
uint8_t keyAgreementAlgo
 
uint8_t sasAlgo
 
uint8_t cacheMismatch
 
uint8_t auxSecretMismatch
 

Detailed Description

brief The data structure containing the keys and algorithms to be used by srtp Also stores SAS and informations about the crypto algorithms selected during ZRTP negotiation

Field Documentation

uint8_t bzrtpSrtpSecrets_struct::authTagAlgo

srtp authentication tag algorithm agreed on after Hello packet exchange

uint8_t bzrtpSrtpSecrets_struct::auxSecretMismatch

Flag set to BZRTP_AUXSECRET_MATCH, BZRTP_AUXSECRET_MISMATCH or BZRTP_AUXSECRET_UNSET, may occurs only on first channel(the one computing SAS), in case of mismatch it may be ignored and we can still validate the SAS

uint8_t bzrtpSrtpSecrets_struct::cacheMismatch

Flag set to 1 in case of ZRTP cache mismatch, may occurs only on first channel(the one computing SAS)

uint8_t bzrtpSrtpSecrets_struct::cipherAlgo

The cipher block algorithm selected durign ZRTP negotiation and used by srtp

uint8_t bzrtpSrtpSecrets_struct::cipherKeyLength

The key length in bytes for the cipher block algorithm used by srtp

uint8_t bzrtpSrtpSecrets_struct::hashAlgo

The hash algo selected during ZRTP negotiation

uint8_t bzrtpSrtpSecrets_struct::keyAgreementAlgo

The key agreement algo selected during ZRTP negotiation

uint8_t* bzrtpSrtpSecrets_struct::peerSrtpKey

The key used by local part to decrypt

uint8_t bzrtpSrtpSecrets_struct::peerSrtpKeyLength

The length in byte of the key

uint8_t* bzrtpSrtpSecrets_struct::peerSrtpSalt

The salt used by local part to decrypt

uint8_t bzrtpSrtpSecrets_struct::peerSrtpSaltLength

The length in byte of the salt

char* bzrtpSrtpSecrets_struct::sas

a null terminated char containing the Short Authentication String

uint8_t bzrtpSrtpSecrets_struct::sasAlgo

The SAS rendering algo selected during ZRTP negotiation

uint8_t bzrtpSrtpSecrets_struct::sasLength

The length of sas, including the termination character

uint8_t* bzrtpSrtpSecrets_struct::selfSrtpKey

The key used by local part to encrypt

uint8_t bzrtpSrtpSecrets_struct::selfSrtpKeyLength

The length in byte of the key

uint8_t* bzrtpSrtpSecrets_struct::selfSrtpSalt

The salt used by local part to encrypt

uint8_t bzrtpSrtpSecrets_struct::selfSrtpSaltLength

The length in byte of the salt


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