VLC  4.0.0-dev
Functions
srtp-test-aes.c File Reference
Include dependency graph for srtp-test-aes.c:

Functions

static void printhex (const void *buf, size_t len)
 
static void fatal (const char *msg)
 
static void test_derivation (void)
 AES-CM key derivation test vectors. More...
 
static void test_keystream (void)
 AES-CM key derivation test vectors. More...
 
static void srtp_test (void)
 
int main (void)
 

Function Documentation

◆ fatal()

static void fatal ( const char *  msg)
static

Referenced by test_derivation(), and test_keystream().

◆ main()

int main ( void  )

References srtp_test().

◆ printhex()

static void printhex ( const void *  buf,
size_t  len 
)
static

Referenced by test_derivation(), and test_keystream().

◆ srtp_test()

static void srtp_test ( void  )
static

References test_derivation(), and test_keystream().

Referenced by main().

◆ test_derivation()

static void test_derivation ( void  )
static

AES-CM key derivation test vectors.

References do_derive(), fatal(), printhex(), SRTP_AUTH, SRTP_CRYPT, and SRTP_SALT.

Referenced by srtp_test().

◆ test_keystream()

static void test_keystream ( void  )
static

AES-CM key derivation test vectors.

References fatal(), printhex(), and rtp_crypt().

Referenced by srtp_test().