aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/misc/aont
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-19 22:37:57 -0400
committerJack Lloyd <[email protected]>2017-09-19 22:37:57 -0400
commit520903f86ea9cf5088526ecd5bb9879f117671f2 (patch)
tree90ca44fa2b8ed8e828d316886452e8c80d6f08ad /src/lib/misc/aont
parent0c6c4e058109791a9f17971ca782dc10af3eb9bc (diff)
parentda5466639c474bea919aee1aefda76ed4625fe85 (diff)
Merge GH #1216 Add API annotations indicating version added and API stability
Diffstat (limited to 'src/lib/misc/aont')
-rw-r--r--src/lib/misc/aont/package.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/lib/misc/aont/package.h b/src/lib/misc/aont/package.h
index 8b2ed1b1f..f48a757bf 100644
--- a/src/lib/misc/aont/package.h
+++ b/src/lib/misc/aont/package.h
@@ -23,10 +23,11 @@ namespace Botan {
* input_len + cipher->BLOCK_SIZE bytes long)
*/
BOTAN_DEPRECATED("Possibly broken, avoid")
-void BOTAN_DLL aont_package(RandomNumberGenerator& rng,
- BlockCipher* cipher,
- const uint8_t input[], size_t input_len,
- uint8_t output[]);
+void BOTAN_PUBLIC_API(2,0)
+aont_package(RandomNumberGenerator& rng,
+ BlockCipher* cipher,
+ const uint8_t input[], size_t input_len,
+ uint8_t output[]);
/**
* Rivest's Package Tranform (Inversion)
@@ -37,9 +38,10 @@ void BOTAN_DLL aont_package(RandomNumberGenerator& rng,
* input_len - cipher->BLOCK_SIZE bytes long)
*/
BOTAN_DEPRECATED("Possibly broken, avoid")
-void BOTAN_DLL aont_unpackage(BlockCipher* cipher,
- const uint8_t input[], size_t input_len,
- uint8_t output[]);
+void BOTAN_PUBLIC_API(2,0)
+aont_unpackage(BlockCipher* cipher,
+ const uint8_t input[], size_t input_len,
+ uint8_t output[]);
}