diff options
author | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:01 -0400 |
---|---|---|
committer | Roberto C. Sanchez <roberto@connexer.com> | 2014-03-29 10:54:01 -0400 |
commit | 71a39f4652cd51df814c930dd268f3c9ad2aee86 (patch) | |
tree | 5994350a603908c4e4d660bc9d72c4ec43dd648e /scripts/sapphire.cpp | |
parent | 03134fa5f6f25d92724ce4c183f9bbe12a9e37dc (diff) |
Imported Upstream version 1.6.0+dfsg
Diffstat (limited to 'scripts/sapphire.cpp')
-rwxr-xr-x | scripts/sapphire.cpp | 65 |
1 files changed, 0 insertions, 65 deletions
diff --git a/scripts/sapphire.cpp b/scripts/sapphire.cpp deleted file mode 100755 index 7010bc7..0000000 --- a/scripts/sapphire.cpp +++ /dev/null @@ -1,65 +0,0 @@ -/****************************************************************************** - * - * Placeholder for the REAL SAPPHIRE II Stream Cipher Files - * - * The SAPPHIRE II package may be obtained from within the United States or - * Canada from: - * - * http://cryptography.org/cgi-bin/crypto.cgi/libraries/sapphire.zip - * - * - * These files must be placed accordingly: - * - * .../sword/include/sapphire.h - * .../sword/src/modules/common/sapphire.cpp - * - * If you are outside of these countries, you will have to obtain this package - * elsewhere. - * - */ - - -unsigned char sapphire::keyrand(int limit, - unsigned char *user_key, - unsigned char keysize, - unsigned char *rsum, - unsigned *keypos) - { - return keysize; - } - -void sapphire::initialize(unsigned char *key, unsigned char keysize) - { - } - -void sapphire::hash_init(void) - { - } - -sapphire::sapphire(unsigned char *key, unsigned char keysize) - { - } - -void sapphire::burn(void) - { - } - -sapphire::~sapphire() - { - } - -unsigned char sapphire::encrypt(unsigned char b) - { - return b; - } - -unsigned char sapphire::decrypt(unsigned char b) - { - return b; - } - -void sapphire::hash_final(unsigned char *hash, // Destination - unsigned char hashlength) // Size of hash. - { - } - |