summaryrefslogtreecommitdiff
path: root/src/libstrongswan/crypto/crypto_tester.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/libstrongswan/crypto/crypto_tester.h')
-rw-r--r--src/libstrongswan/crypto/crypto_tester.h26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/libstrongswan/crypto/crypto_tester.h b/src/libstrongswan/crypto/crypto_tester.h
index 1354bec52..9ac665929 100644
--- a/src/libstrongswan/crypto/crypto_tester.h
+++ b/src/libstrongswan/crypto/crypto_tester.h
@@ -72,7 +72,7 @@ struct aead_test_vector_t {
struct signer_test_vector_t {
/** signer algorithm this test vector tests */
- pseudo_random_function_t alg;
+ integrity_algorithm_t alg;
/** key to use, with a length the algorithm expects */
u_char *key;
/** size of the input data */
@@ -143,11 +143,7 @@ struct crypto_tester_t {
*/
bool (*test_crypter)(crypto_tester_t *this, encryption_algorithm_t alg,
size_t key_size, crypter_constructor_t create,
-<<<<<<< HEAD
- u_int *speed);
-=======
u_int *speed, const char *plugin_name);
->>>>>>> upstream/4.5.1
/**
* Test an aead algorithm, optionally using a specified key size.
@@ -160,11 +156,7 @@ struct crypto_tester_t {
*/
bool (*test_aead)(crypto_tester_t *this, encryption_algorithm_t alg,
size_t key_size, aead_constructor_t create,
-<<<<<<< HEAD
- u_int *speed);
-=======
u_int *speed, const char *plugin_name);
->>>>>>> upstream/4.5.1
/**
* Test a signer algorithm.
*
@@ -174,12 +166,8 @@ struct crypto_tester_t {
* @return TRUE if test passed
*/
bool (*test_signer)(crypto_tester_t *this, integrity_algorithm_t alg,
-<<<<<<< HEAD
- signer_constructor_t create, u_int *speed);
-=======
signer_constructor_t create,
u_int *speed, const char *plugin_name);
->>>>>>> upstream/4.5.1
/**
* Test a hasher algorithm.
*
@@ -189,12 +177,8 @@ struct crypto_tester_t {
* @return TRUE if test passed
*/
bool (*test_hasher)(crypto_tester_t *this, hash_algorithm_t alg,
-<<<<<<< HEAD
- hasher_constructor_t create, u_int *speed);
-=======
hasher_constructor_t create,
u_int *speed, const char *plugin_name);
->>>>>>> upstream/4.5.1
/**
* Test a PRF algorithm.
*
@@ -204,12 +188,8 @@ struct crypto_tester_t {
* @return TRUE if test passed
*/
bool (*test_prf)(crypto_tester_t *this, pseudo_random_function_t alg,
-<<<<<<< HEAD
- prf_constructor_t create, u_int *speed);
-=======
prf_constructor_t create,
u_int *speed, const char *plugin_name);
->>>>>>> upstream/4.5.1
/**
* Test a RNG implementation.
*
@@ -219,12 +199,8 @@ struct crypto_tester_t {
* @return TRUE if test passed
*/
bool (*test_rng)(crypto_tester_t *this, rng_quality_t quality,
-<<<<<<< HEAD
- rng_constructor_t create, u_int *speed);
-=======
rng_constructor_t create,
u_int *speed, const char *plugin_name);
->>>>>>> upstream/4.5.1
/**
* Add a test vector to test a crypter.
*