aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-01-31 16:18:09 +0000
committerlloyd <[email protected]>2015-01-31 16:18:09 +0000
commitfd3016d10124d2b7ccd7bc885235f2e407d73800 (patch)
treee237b54c3a8d465c893a012157d9d52014eaccc9 /src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
parent00c9b3f4834603946065c15b9b2e9fa5e973b979 (diff)
Use registry also for KDF, EMSA, and EME
Diffstat (limited to 'src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp')
-rw-r--r--src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp b/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
index 6ce3d4e73..6f6cf22b8 100644
--- a/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
+++ b/src/lib/pk_pad/emsa_pkcs1/emsa_pkcs1.cpp
@@ -5,11 +5,13 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
+#include <botan/internal/pad_utils.h>
#include <botan/emsa_pkcs1.h>
-#include <botan/hash_id.h>
namespace Botan {
+BOTAN_REGISTER_EMSA_1HASH(EMSA_PKCS1v15, "PKCS1v15");
+
namespace {
secure_vector<byte> emsa3_encoding(const secure_vector<byte>& msg,