#include <crypto/crypto_tester.h>
#include <utils/test.h>
-const char *default_plugin_name = "default";
-
typedef struct entry_t entry_t;
struct entry_t {
if (this->test_on_create &&
!this->tester->test_crypter(this->tester, algo, key_size,
entry->create_crypter, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
continue;
}
if (this->test_on_create &&
!this->tester->test_aead(this->tester, algo, key_size,
salt_size, entry->create_aead, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
continue;
}
if (this->test_on_create &&
!this->tester->test_signer(this->tester, algo,
entry->create_signer, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
continue;
}
if (this->test_on_create &&
!this->tester->test_hasher(this->tester, algo,
entry->create_hasher, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
continue;
}
if (this->test_on_create &&
!this->tester->test_prf(this->tester, algo,
entry->create_prf, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
continue;
}
if (this->test_on_create &&
!this->tester->test_xof(this->tester, algo,
entry->create_xof, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
continue;
}
va_start(test_args.args, algo);
if (!this->tester->test_kdf(this->tester, algo,
entry->create_kdf, &test_args, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
va_end(test_args.args);
continue;
if (this->test_on_create &&
!this->tester->test_drbg(this->tester, type,
entry->create_drbg, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
continue;
}
if (this->test_on_create &&
!this->tester->test_rng(this->tester, quality,
entry->create_rng, NULL,
- default_plugin_name))
+ entry->plugin_name))
{
continue;
}
{
if (this->test_on_create && group != MODP_CUSTOM &&
!this->tester->test_dh(this->tester, group,
- entry->create_dh, NULL, default_plugin_name))
+ entry->create_dh, NULL, entry->plugin_name))
{
continue;
}