bZRTP
bZRTP is an opensource implementation of ZRTP keys exchange protocol
|
#include <bzrtp.h>
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
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::peerAcceptGoClear |
Flag set to 1 in case of peer accept receiving GoClear
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