2023-01-03 02:21:26 +00:00
|
|
|
#include "config.h"
|
|
|
|
|
|
|
|
#if USE_SSL
|
|
|
|
|
|
|
|
#include "FunctionsHashing.h"
|
|
|
|
#include <Functions/FunctionFactory.h>
|
|
|
|
|
2023-01-24 22:52:55 +00:00
|
|
|
/// FunctionsHashing instantiations are separated into files FunctionsHashing*.cpp
|
|
|
|
/// to better parallelize the build procedure and avoid MSan build failure
|
|
|
|
/// due to excessive resource consumption.
|
2023-01-03 02:21:26 +00:00
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
|
|
|
REGISTER_FUNCTION(HashingSSL)
|
|
|
|
{
|
|
|
|
factory.registerFunction<FunctionMD4>();
|
|
|
|
factory.registerFunction<FunctionHalfMD5>();
|
|
|
|
factory.registerFunction<FunctionMD5>();
|
|
|
|
factory.registerFunction<FunctionSHA1>();
|
|
|
|
factory.registerFunction<FunctionSHA224>();
|
|
|
|
factory.registerFunction<FunctionSHA256>();
|
|
|
|
factory.registerFunction<FunctionSHA384>();
|
|
|
|
factory.registerFunction<FunctionSHA512>();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|