aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-09-19 12:42:28 -0400
committerJack Lloyd <[email protected]>2017-09-19 12:42:28 -0400
commitdf3e6466e56dc8bc272831425efbb6fc7172de06 (patch)
tree43597a82d6d83f6df663f5bb8146e35465a1c898 /src/lib
parent8fd8187e1f8b0106d183a1ac3ca66fa4a76fcea0 (diff)
Deprecate package transform
Unclear what's up with #825 but in any case this function is funky and I don't care enough to try to debug/fix it...
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/misc/aont/package.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/misc/aont/package.h b/src/lib/misc/aont/package.h
index d090e0725..8b2ed1b1f 100644
--- a/src/lib/misc/aont/package.h
+++ b/src/lib/misc/aont/package.h
@@ -22,6 +22,7 @@ namespace Botan {
* @param output the output data buffer (must be at least
* 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,
@@ -35,6 +36,7 @@ void BOTAN_DLL aont_package(RandomNumberGenerator& rng,
* @param output the output data buffer (must be at least
* 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[]);