webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <string.h>
#include <time.h>
#include <stdlib.h>
#include <stdio.h>
#include "getopt_s.h"
#include "util.h"
#include "srtp_priv.h"
#include "ekt.h"
Macros | |
#define | PRINT_REFERENCE_PACKET 1 |
#define | MAX_MSG_LEN 1024 |
#define | MTU 2048 |
Variables | |
uint8_t | test_key [46] |
const srtp_policy_t * | policy_array [] |
const srtp_policy_t | wildcard_policy |
srtp_debug_module_t | mod_driver |
char | packet_string [MTU] |
unsigned char | test_alt_key [46] |
const srtp_policy_t | default_policy |
const srtp_policy_t | aes_only_policy |
const srtp_policy_t | hmac_only_policy |
const srtp_policy_t | null_policy |
unsigned char | test_256_key [46] |
const srtp_policy_t | aes_256_hmac_policy |
uint8_t | ekt_test_key [16] |
srtp_ekt_policy_ctx_t | ekt_test_policy |
const srtp_policy_t | hmac_only_with_ekt_policy |
#define MAX_MSG_LEN 1024 |
#define MTU 2048 |
#define PRINT_REFERENCE_PACKET 1 |
void err_check | ( | srtp_err_status_t | s | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
double mips_estimate | ( | int | num_trials, |
int * | ignore | ||
) |
srtp_err_status_t srtcp_test | ( | const srtp_policy_t * | policy | ) |
double srtp_bits_per_second | ( | int | msg_len_octets, |
const srtp_policy_t * | policy | ||
) |
srtp_err_status_t srtp_create_big_policy | ( | srtp_policy_t ** | list | ) |
srtp_hdr_t* srtp_create_test_packet | ( | int | pkt_octet_len, |
uint32_t | ssrc | ||
) |
srtp_hdr_t* srtp_create_test_packet_ext_hdr | ( | int | pkt_octet_len, |
uint32_t | ssrc | ||
) |
srtp_err_status_t srtp_dealloc_big_policy | ( | srtp_policy_t * | list | ) |
void srtp_do_rejection_timing | ( | const srtp_policy_t * | policy | ) |
void srtp_do_timing | ( | const srtp_policy_t * | policy | ) |
char * srtp_packet_to_string | ( | srtp_hdr_t * | hdr, |
int | packet_len | ||
) |
srtp_err_status_t srtp_print_policy | ( | const srtp_policy_t * | policy | ) |
double srtp_rejections_per_second | ( | int | msg_len_octets, |
const srtp_policy_t * | policy | ||
) |
srtp_err_status_t srtp_session_print_policy | ( | srtp_t | srtp | ) |
srtp_err_status_t srtp_test | ( | const srtp_policy_t * | policy, |
int | extension_header | ||
) |
srtp_err_status_t srtp_test_empty_payload | ( | void | ) |
srtp_err_status_t srtp_test_remove_stream | ( | void | ) |
srtp_err_status_t srtp_test_update | ( | void | ) |
srtp_err_status_t srtp_validate | ( | void | ) |
srtp_err_status_t srtp_validate_aes_256 | ( | void | ) |
srtp_err_status_t srtp_validate_encrypted_extensions_headers | ( | void | ) |
const srtp_policy_t aes_256_hmac_policy |
const srtp_policy_t aes_only_policy |
const srtp_policy_t default_policy |
uint8_t ekt_test_key[16] |
srtp_ekt_policy_ctx_t ekt_test_policy |
const srtp_policy_t hmac_only_policy |
const srtp_policy_t hmac_only_with_ekt_policy |
srtp_debug_module_t mod_driver |
const srtp_policy_t null_policy |
char packet_string[MTU] |
const srtp_policy_t * policy_array |
unsigned char test_256_key[46] |
unsigned char test_alt_key[46] |
unsigned char test_key |
const srtp_policy_t wildcard_policy |