webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Macros | Functions | Variables
auth_driver.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include "auth.h"
#include "null_auth.h"
#include <time.h>

Macros

#define PRINT_DEBUG_DATA   0
 
#define MAX_MSG_LEN   2048
 
#define NUM_TRIALS   100000
 

Functions

double auth_bits_per_second (auth_t *h, int msg_len)
 
void usage (char *prog_name)
 
int main (int argc, char *argv[])
 

Variables

srtp_auth_type_t tmmhv2
 
const uint16_t msg0 [9]
 
const uint16_t key1 [47]
 

Macro Definition Documentation

◆ MAX_MSG_LEN

#define MAX_MSG_LEN   2048

◆ NUM_TRIALS

#define NUM_TRIALS   100000

◆ PRINT_DEBUG_DATA

#define PRINT_DEBUG_DATA   0

Function Documentation

◆ auth_bits_per_second()

double auth_bits_per_second ( auth_t *  h,
int  msg_len 
)

◆ main()

int main ( int  argc,
char *  argv[] 
)

◆ usage()

void usage ( char *  prog_name)

Variable Documentation

◆ key1

const uint16_t key1[47]
Initial value:
= {
0xe627, 0x6a01, 0x5ea7, 0xf27a, 0xc536, 0x2192, 0x11be, 0xea35,
0xdb9d, 0x63d6, 0xfa8a, 0xfc45, 0xe08b, 0xd216, 0xced2, 0x7853,
0x1a82, 0x22f5, 0x90fb, 0x1c29, 0x708e, 0xd06f, 0x82c3, 0xbee6,
0x4f21, 0x6f33, 0x65c0, 0xd211, 0xc25e, 0x9138, 0x4fa3, 0x7c1f,
0x61ac, 0x3489, 0x2976, 0x8c19, 0x8252, 0xddbf, 0xcad3, 0xc28f,
0x68d6, 0x58dd, 0x504f, 0x2bbf, 0x0278, 0x70b7, 0xcfca
}

◆ msg0

const uint16_t msg0[9]
Initial value:
= {
0x6015, 0xf141, 0x5ba1, 0x29a0, 0xf604, 0xd1c, 0x2d9, 0xaa8a, 0x7931
}

◆ tmmhv2