diff options
Diffstat (limited to 'src/lib/pbkdf/pbkdf_utils.h')
-rw-r--r-- | src/lib/pbkdf/pbkdf_utils.h | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/src/lib/pbkdf/pbkdf_utils.h b/src/lib/pbkdf/pbkdf_utils.h new file mode 100644 index 000000000..480fc70eb --- /dev/null +++ b/src/lib/pbkdf/pbkdf_utils.h @@ -0,0 +1,23 @@ +/* +* PBKDF Utility Header +* (C) 2015 Jack Lloyd +* +* Botan is released under the Simplified BSD License (see license.txt) +*/ + +#ifndef BOTAN_PBKDF_UTILS_H__ +#define BOTAN_PBKDF_UTILS_H__ + +#include <botan/pbkdf.h> +#include <botan/internal/algo_registry.h> + +namespace Botan { + +#define BOTAN_REGISTER_PBKDF_1HASH(type, name) \ + BOTAN_REGISTER_NAMED_T(PBKDF, name, type, (make_new_T_1X<type, HashFunction>)) +#define BOTAN_REGISTER_PBKDF_1MAC(type, name) \ + BOTAN_REGISTER_NAMED_T(PBKDF, name, type, (make_new_T_1X<type, MessageAuthenticationCode>)) + +} + +#endif |