typedef struct unittest_crypto_test_registration
{
char *name;
- vnet_crypto_alg_t alg:8;
- vnet_crypto_op_type_t op:8;
- unittest_crypto_test_data_t iv, key, data, expected;
+ vnet_crypto_alg_t alg;
+ unittest_crypto_test_data_t iv, key, digest, plaintext, ciphertext, aad,
+ tag;
/* next */
struct unittest_crypto_test_registration *next;
typedef struct
{
int verbose;
+
+ /* perf */
+ vnet_crypto_alg_t alg;
+ u32 warmup_rounds;
+ u32 rounds;
+ u32 buffer_size;
+ u32 n_buffers;
+
unittest_crypto_test_registration_t *test_registrations;
} crypto_test_main_t;