FD.io VPP  v19.04.1-1-ge4a0f9f
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

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

Definition at line 46 of file crypto.h.

#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
struct unittest_crypto_test_registration unittest_crypto_test_registration_t
unittest_crypto_test_registration_t * test_registrations
Definition: crypto.h:41
crypto_test_main_t crypto_test_main

Definition at line 48 of file crypto.h.

Typedef Documentation

Variable Documentation

crypto_test_main_t crypto_test_main