diff options
author | Jack Lloyd <[email protected]> | 2020-09-26 13:08:38 -0400 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2020-11-05 10:40:42 -0500 |
commit | d802f619e18b4976bb2556d34620536b8481f817 (patch) | |
tree | 02fde1ef84c5dc347fbabf35554e7d2ac01f4360 /src/lib/misc/aont/package.h | |
parent | 4abcc60af655347c9a004cf237d1356d71b7ee3e (diff) |
Remove all or nothing transform
Diffstat (limited to 'src/lib/misc/aont/package.h')
-rw-r--r-- | src/lib/misc/aont/package.h | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/src/lib/misc/aont/package.h b/src/lib/misc/aont/package.h deleted file mode 100644 index 38e04e470..000000000 --- a/src/lib/misc/aont/package.h +++ /dev/null @@ -1,49 +0,0 @@ -/* -* Rivest's Package Tranform -* (C) 2009 Jack Lloyd -* -* Botan is released under the Simplified BSD License (see license.txt) -*/ - -#ifndef BOTAN_AONT_PACKAGE_TRANSFORM_H_ -#define BOTAN_AONT_PACKAGE_TRANSFORM_H_ - -#include <botan/block_cipher.h> - -namespace Botan { - -class RandomNumberGenerator; - -/** -* Rivest's Package Tranform -* @param rng the random number generator to use -* @param cipher the block cipher to use (aont_package takes ownership) -* @param input the input data buffer -* @param input_len the length of the input data in bytes -* @param output the output data buffer (must be at least -* input_len + cipher->BLOCK_SIZE bytes long) -*/ -BOTAN_DEPRECATED("Possibly broken, avoid") -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) -* @param cipher the block cipher to use (aont_package takes ownership) -* @param input the input data buffer -* @param input_len the length of the input data in bytes -* @param output the output data buffer (must be at least -* input_len - cipher->BLOCK_SIZE bytes long) -*/ -BOTAN_DEPRECATED("Possibly broken, avoid") -void BOTAN_PUBLIC_API(2,0) -aont_unpackage(BlockCipher* cipher, - const uint8_t input[], size_t input_len, - uint8_t output[]); - -} - -#endif |