blob: 8f05a33ad3fd01a845e75da907f925ed25f1a188 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/*
* (C) 2015 Jack Lloyd
*
* Botan is released under the Simplified BSD License (see license.txt)
*/
#include <botan/internal/algo_registry.h>
#include <botan/transform.h>
namespace Botan {
Transform* get_transform(const std::string& specstr,
const std::string& provider,
const std::string& dirstr)
{
Algo_Registry<Transform>::Spec spec(specstr, dirstr);
return Algo_Registry<Transform>::global_registry().make(spec, provider);
}
}
|