webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "getopt_s.h"
#include "cipher.h"
#include "aes_icm.h"
Macros | |
#define | PRINT_DEBUG 0 |
#define | INITIAL_BUFLEN 1024 |
Functions | |
void | cipher_driver_test_throughput (srtp_cipher_t *c) |
srtp_err_status_t | cipher_driver_self_test (srtp_cipher_type_t *ct) |
srtp_err_status_t | cipher_driver_test_buffering (srtp_cipher_t *c) |
srtp_err_status_t | cipher_driver_test_array_throughput (srtp_cipher_type_t *ct, int klen, int num_cipher) |
void | cipher_array_test_throughput (srtp_cipher_t *ca[], int num_cipher) |
uint64_t | cipher_array_bits_per_second (srtp_cipher_t *cipher_array[], int num_cipher, unsigned octets_in_buffer, int num_trials) |
srtp_err_status_t | cipher_array_delete (srtp_cipher_t *cipher_array[], int num_cipher) |
srtp_err_status_t | cipher_array_alloc_init (srtp_cipher_t ***cipher_array, int num_ciphers, srtp_cipher_type_t *ctype, int klen) |
void | usage (char *prog_name) |
void | check_status (srtp_err_status_t s) |
int | main (int argc, char *argv[]) |
Variables | |
srtp_cipher_type_t | srtp_null_cipher |
srtp_cipher_type_t | srtp_aes_icm |
#define INITIAL_BUFLEN 1024 |
#define PRINT_DEBUG 0 |
void check_status | ( | srtp_err_status_t | s | ) |
srtp_err_status_t cipher_array_alloc_init | ( | srtp_cipher_t *** | cipher_array, |
int | num_ciphers, | ||
srtp_cipher_type_t * | ctype, | ||
int | klen | ||
) |
uint64_t cipher_array_bits_per_second | ( | srtp_cipher_t * | cipher_array[], |
int | num_cipher, | ||
unsigned | octets_in_buffer, | ||
int | num_trials | ||
) |
srtp_err_status_t cipher_array_delete | ( | srtp_cipher_t * | cipher_array[], |
int | num_cipher | ||
) |
void cipher_array_test_throughput | ( | srtp_cipher_t * | ca[], |
int | num_cipher | ||
) |
srtp_err_status_t cipher_driver_self_test | ( | srtp_cipher_type_t * | ct | ) |
srtp_err_status_t cipher_driver_test_array_throughput | ( | srtp_cipher_type_t * | ct, |
int | klen, | ||
int | num_cipher | ||
) |
srtp_err_status_t cipher_driver_test_buffering | ( | srtp_cipher_t * | c | ) |
void cipher_driver_test_throughput | ( | srtp_cipher_t * | c | ) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
srtp_cipher_type_t srtp_aes_icm |
srtp_cipher_type_t srtp_null_cipher |