Botan
1.11.15
|
00001 /* 00002 * PBKDF Utility Header 00003 * (C) 2015 Jack Lloyd 00004 * 00005 * Botan is released under the Simplified BSD License (see license.txt) 00006 */ 00007 00008 #ifndef BOTAN_PBKDF_UTILS_H__ 00009 #define BOTAN_PBKDF_UTILS_H__ 00010 00011 #include <botan/pbkdf.h> 00012 #include <botan/internal/algo_registry.h> 00013 00014 namespace Botan { 00015 00016 #define BOTAN_REGISTER_PBKDF_1HASH(type, name) \ 00017 BOTAN_REGISTER_NAMED_T(PBKDF, name, type, (make_new_T_1X<type, HashFunction>)) 00018 #define BOTAN_REGISTER_PBKDF_1MAC(type, name) \ 00019 BOTAN_REGISTER_NAMED_T(PBKDF, name, type, (make_new_T_1X<type, MessageAuthenticationCode>)) 00020 00021 } 00022 00023 #endif