zrtp_srtp_builtin.h File Reference

#include "zrtp_config.h"
#include "zrtp_error.h"
#include "zrtp_types.h"
#include "zrtp_crypto.h"

Go to the source code of this file.

Data Structures

struct  zrtp_srtp_rp_t
 Structure describing replay protection engine data. More...
struct  zrtp_srtp_cipher_t
 Structure describing cipher wrapper. More...
struct  zrtp_srtp_auth_t
 Structure describing authentication wrapper. More...
struct  zrtp_srtp_stream_ctx_t
 Structure for SRTP stream context description. More...
struct  zrtp_rp_node_t
 Structure describing a protection node. Each node keeps data for protecting RTP and RTCP packets against replays within streams with a given SSRC. There are two replay protection nodes for each SSRC value in the two lists. One is used for incoming packets and the other for outgoing packets. More...
struct  zrtp_rp_ctx_t
 Structure describing replay protection context. This structure holds two linked list's heads and two mutexes for synchronization access to appropriate lists. More...

Defines

#define ZRTP_SRTP_WINDOW_WIDTH   16
 Sliding window width in bits. This window is used by the replay protection mechanism. As stated in the RFC3711, '3.3.2., the replay protection sliding window width MUST be at least 64, but MAY be set to a higher value.
#define ZRTP_SRTP_WINDOW_WIDTH_BYTES   ZRTP_SRTP_WINDOW_WIDTH/8
 Sliding window width in bytes if padding isn't needed. This is used for allocating a window as a uint8_t array.
#define RP_INCOMING_DIRECTION   1
#define RP_OUTGOING_DIRECTION   2

Typedefs

typedef zrtp_srtp_cipher_t zrtp_dk_ctx

Enumerations

enum  zrtp_srtp_prf_label {
  label_rtp_encryption = 0x00, label_rtp_msg_auth = 0x01, label_rtp_salt = 0x02, label_rtcp_encryption = 0x03,
  label_rtcp_msg_auth = 0x04, label_rtcp_salt = 0x05
}
 Enumeration of labels used in key derivation for various purposes. See RFC3711, "4.3. Key Derivation" for more details. More...


This file is part of the documentation for Zfone.
Copyright ©  2006-2008 Philip R. Zimmermann. All rights reserved.
Generated on Mon November 10 2008 by doxygen 1.5.7-20060202. Written by Viktor Krikun, © 2006-2008