bZRTP
bZRTP is an opensource implementation of ZRTP keys exchange protocol
Data Structures | Macros | Typedefs | Variables
typedef.h File Reference

Go to the source code of this file.

Data Structures

struct  bzrtpTimer_struct
 Timer structure : The timer mechanism receives a tick giving a current time in ms a timer object will check on tick reception if it must fire or not. More...
 
struct  cachedSecrets_struct
 A set of cached secrets retrieved from the cache as defined. More...
 
struct  cachedSecretsHash_struct
 The hash of cached secret truncated to the 64 leftmost bits aux secret ID is not part of it because channel context dependend while these one are session wise. More...
 
struct  bzrtpChannelContext_struct
 The zrtp context of a channel. More...
 
struct  bzrtpContext_struct
 structure of the ZRTP engine context Store current state, timers, HMAC and encryption keys More...
 

Macros

#define ZRTP_MAX_CHANNEL_NUMBER   2
 
#define MAX_AUX_SECRET_LENGTH   64
 
#define PACKET_STORAGE_CAPACITY   4
 
#define HELLO_MESSAGE_STORE_ID   0
 
#define COMMIT_MESSAGE_STORE_ID   1
 
#define DHPART_MESSAGE_STORE_ID   2
 
#define CONFIRM_MESSAGE_STORE_ID   3
 
#define BZRTP_TIMER_ON   1
 
#define BZRTP_TIMER_OFF   2
 
#define HELLO_BASE_RETRANSMISSION_STEP   50
 
#define HELLO_CAP_RETRANSMISSION_STEP   200
 
#define HELLO_MAX_RETRANSMISSION_NUMBER   20
 
#define NON_HELLO_BASE_RETRANSMISSION_STEP   150
 
#define NON_HELLO_CAP_RETRANSMISSION_STEP   1200
 
#define NON_HELLO_MAX_RETRANSMISSION_NUMBER   10
 
#define ZRTP_CLIENT_IDENTIFIERv1_0a   "LINPHONE-ZRTPCPP"
 
#define ZRTP_CLIENT_IDENTIFIERv1_0b   "BZRTP"
 
#define ZRTP_CLIENT_IDENTIFIERv1_1   "BZRTPv1.1"
 
#define ZRTP_CLIENT_IDENTIFIER   ZRTP_CLIENT_IDENTIFIERv1_1
 
#define RETAINED_SECRET_LENGTH   32
 

Typedefs

typedef struct bzrtpChannelContext_struct bzrtpChannelContext_t
 
typedef struct bzrtpTimer_struct bzrtpTimer_t
 Timer structure : The timer mechanism receives a tick giving a current time in ms a timer object will check on tick reception if it must fire or not. More...
 
typedef struct cachedSecrets_struct cachedSecrets_t
 A set of cached secrets retrieved from the cache as defined. More...
 
typedef struct cachedSecretsHash_struct cachedSecretsHash_t
 The hash of cached secret truncated to the 64 leftmost bits aux secret ID is not part of it because channel context dependend while these one are session wise. More...
 

Variables

const char * pgpWordsEven []
 
const char * pgpWordsOdd []
 

Macro Definition Documentation

#define BZRTP_TIMER_OFF   2
#define BZRTP_TIMER_ON   1
#define COMMIT_MESSAGE_STORE_ID   1
#define CONFIRM_MESSAGE_STORE_ID   3
#define DHPART_MESSAGE_STORE_ID   2
#define HELLO_BASE_RETRANSMISSION_STEP   50
#define HELLO_CAP_RETRANSMISSION_STEP   200
#define HELLO_MAX_RETRANSMISSION_NUMBER   20
#define HELLO_MESSAGE_STORE_ID   0
#define MAX_AUX_SECRET_LENGTH   64
#define NON_HELLO_BASE_RETRANSMISSION_STEP   150
#define NON_HELLO_CAP_RETRANSMISSION_STEP   1200
#define NON_HELLO_MAX_RETRANSMISSION_NUMBER   10
#define PACKET_STORAGE_CAPACITY   4
#define RETAINED_SECRET_LENGTH   32
#define ZRTP_CLIENT_IDENTIFIER   ZRTP_CLIENT_IDENTIFIERv1_1
#define ZRTP_CLIENT_IDENTIFIERv1_0a   "LINPHONE-ZRTPCPP"
#define ZRTP_CLIENT_IDENTIFIERv1_0b   "BZRTP"
#define ZRTP_CLIENT_IDENTIFIERv1_1   "BZRTPv1.1"
#define ZRTP_MAX_CHANNEL_NUMBER   2

Typedef Documentation

Timer structure : The timer mechanism receives a tick giving a current time in ms a timer object will check on tick reception if it must fire or not.

A set of cached secrets retrieved from the cache as defined.

The hash of cached secret truncated to the 64 leftmost bits aux secret ID is not part of it because channel context dependend while these one are session wise.

Variable Documentation

const char* pgpWordsEven[]
const char* pgpWordsOdd[]