aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/pk_pad/mgf1
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/pk_pad/mgf1')
-rw-r--r--src/lib/pk_pad/mgf1/mgf1.cpp2
-rw-r--r--src/lib/pk_pad/mgf1/mgf1.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/pk_pad/mgf1/mgf1.cpp b/src/lib/pk_pad/mgf1/mgf1.cpp
index 2e7ef9973..0a843cea9 100644
--- a/src/lib/pk_pad/mgf1/mgf1.cpp
+++ b/src/lib/pk_pad/mgf1/mgf1.cpp
@@ -5,7 +5,7 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#include <botan/mgf1.h>
+#include <botan/internal/mgf1.h>
#include <botan/hash.h>
#include <algorithm>
diff --git a/src/lib/pk_pad/mgf1/mgf1.h b/src/lib/pk_pad/mgf1/mgf1.h
index 9eb652a82..d0f469402 100644
--- a/src/lib/pk_pad/mgf1/mgf1.h
+++ b/src/lib/pk_pad/mgf1/mgf1.h
@@ -22,7 +22,7 @@ class HashFunction;
* @param out output buffer
* @param out_len size of the output buffer in bytes
*/
-void BOTAN_PUBLIC_API(2,0) mgf1_mask(HashFunction& hash,
+void mgf1_mask(HashFunction& hash,
const uint8_t in[], size_t in_len,
uint8_t out[], size_t out_len);