FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
crypto.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  unittest_crypto_test_data_t
 
struct  unittest_crypto_test_registration
 
struct  crypto_test_main_t
 

Macros

#define TEST_DATA(n)   { .data = (u8 *) n, .length = sizeof (n)}
 
#define UNITTEST_REGISTER_CRYPTO_TEST(x)
 

Typedefs

typedef struct unittest_crypto_test_registration unittest_crypto_test_registration_t
 

Variables

crypto_test_main_t crypto_test_main
 

Macro Definition Documentation

◆ TEST_DATA

#define TEST_DATA (   n)    { .data = (u8 *) n, .length = sizeof (n)}

Definition at line 54 of file crypto.h.

◆ UNITTEST_REGISTER_CRYPTO_TEST

#define UNITTEST_REGISTER_CRYPTO_TEST (   x)
Value:
unittest_crypto_test_registration_t __unittest_crypto_test_##x; \
static void __clib_constructor \
__unittest_crypto_test_registration_##x (void) \
{ \
crypto_test_main_t * cm = &crypto_test_main; \
__unittest_crypto_test_##x.next = cm->test_registrations; \
cm->test_registrations = & __unittest_crypto_test_##x; \
} \
unittest_crypto_test_registration_t __unittest_crypto_test_##x
unittest_crypto_test_registration_t * test_registrations
Definition: crypto.h:49
vnet_crypto_main_t * cm
Definition: quic_crypto.c:41
crypto_test_main_t crypto_test_main

Definition at line 56 of file crypto.h.

Typedef Documentation

◆ unittest_crypto_test_registration_t

Variable Documentation

◆ crypto_test_main

crypto_test_main_t crypto_test_main