bZRTP
bZRTP is an opensource implementation of ZRTP keys exchange protocol
Loading...
Searching...
No Matches
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  fragmentInfo_struct
 
struct  fragmentReassembly_struct
 
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   64
 
#define MAX_AUX_SECRET_LENGTH   64
 
#define PACKET_STORAGE_CAPACITY   5
 
#define HELLO_MESSAGE_STORE_ID   0 /* MUST stay at 0 */
 
#define COMMIT_MESSAGE_STORE_ID   1
 
#define DHPART_MESSAGE_STORE_ID   2
 
#define CONFIRM_MESSAGE_STORE_ID   3
 
#define GOCLEAR_MESSAGE_STORE_ID   4
 
#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 CLEARACK_BASE_RETRANSMISSION_STEP   5000
 
#define CLEARACK_MAX_RETRANSMISSION_NUMBER   20
 
#define BZRTP_MINIMUM_MTU   600
 
#define BZRTP_DEFAULT_MTU   1452
 
#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.
 
typedef struct cachedSecrets_struct cachedSecrets_t
 A set of cached secrets retrieved from the cache as defined.
 
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.
 
typedef struct fragmentInfo_struct fragmentInfo_t
 
typedef struct fragmentReassembly_struct fragmentReassembly_t
 

Variables

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

Macro Definition Documentation

◆ BZRTP_DEFAULT_MTU

#define BZRTP_DEFAULT_MTU   1452

◆ BZRTP_MINIMUM_MTU

#define BZRTP_MINIMUM_MTU   600

◆ BZRTP_TIMER_OFF

#define BZRTP_TIMER_OFF   2

◆ BZRTP_TIMER_ON

#define BZRTP_TIMER_ON   1

◆ CLEARACK_BASE_RETRANSMISSION_STEP

#define CLEARACK_BASE_RETRANSMISSION_STEP   5000

◆ CLEARACK_MAX_RETRANSMISSION_NUMBER

#define CLEARACK_MAX_RETRANSMISSION_NUMBER   20

◆ COMMIT_MESSAGE_STORE_ID

#define COMMIT_MESSAGE_STORE_ID   1

◆ CONFIRM_MESSAGE_STORE_ID

#define CONFIRM_MESSAGE_STORE_ID   3

◆ DHPART_MESSAGE_STORE_ID

#define DHPART_MESSAGE_STORE_ID   2

◆ GOCLEAR_MESSAGE_STORE_ID

#define GOCLEAR_MESSAGE_STORE_ID   4

◆ HELLO_BASE_RETRANSMISSION_STEP

#define HELLO_BASE_RETRANSMISSION_STEP   50

◆ HELLO_CAP_RETRANSMISSION_STEP

#define HELLO_CAP_RETRANSMISSION_STEP   200

◆ HELLO_MAX_RETRANSMISSION_NUMBER

#define HELLO_MAX_RETRANSMISSION_NUMBER   20

◆ HELLO_MESSAGE_STORE_ID

#define HELLO_MESSAGE_STORE_ID   0 /* MUST stay at 0 */

◆ MAX_AUX_SECRET_LENGTH

#define MAX_AUX_SECRET_LENGTH   64

◆ NON_HELLO_BASE_RETRANSMISSION_STEP

#define NON_HELLO_BASE_RETRANSMISSION_STEP   150

◆ NON_HELLO_CAP_RETRANSMISSION_STEP

#define NON_HELLO_CAP_RETRANSMISSION_STEP   1200

◆ NON_HELLO_MAX_RETRANSMISSION_NUMBER

#define NON_HELLO_MAX_RETRANSMISSION_NUMBER   10

◆ PACKET_STORAGE_CAPACITY

#define PACKET_STORAGE_CAPACITY   5

◆ RETAINED_SECRET_LENGTH

#define RETAINED_SECRET_LENGTH   32

◆ ZRTP_CLIENT_IDENTIFIER

#define ZRTP_CLIENT_IDENTIFIER   ZRTP_CLIENT_IDENTIFIERv1_1

◆ ZRTP_CLIENT_IDENTIFIERv1_0a

#define ZRTP_CLIENT_IDENTIFIERv1_0a   "LINPHONE-ZRTPCPP"

◆ ZRTP_CLIENT_IDENTIFIERv1_0b

#define ZRTP_CLIENT_IDENTIFIERv1_0b   "BZRTP"

◆ ZRTP_CLIENT_IDENTIFIERv1_1

#define ZRTP_CLIENT_IDENTIFIERv1_1   "BZRTPv1.1"

◆ ZRTP_MAX_CHANNEL_NUMBER

#define ZRTP_MAX_CHANNEL_NUMBER   64

Typedef Documentation

◆ bzrtpChannelContext_t

◆ 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.

◆ cachedSecrets_t

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

◆ 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.

◆ fragmentInfo_t

◆ fragmentReassembly_t

Variable Documentation

◆ pgpWordsEven

const char* pgpWordsEven[]
extern

◆ pgpWordsOdd

const char* pgpWordsOdd[]
extern