diff options
author | lloyd <[email protected]> | 2009-06-06 19:57:46 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-06-06 19:57:46 +0000 |
commit | 95033a027fcda13453010805880ad7450d3ac3ff (patch) | |
tree | 4233c904bcc712e0af61ce75353163ad657a836a /src/hash/skein/skein_512.h | |
parent | a96eae0b3394b64aea544f9f0ce4664d3b4a5c58 (diff) |
Mark Skein_512 with the BOTAN_DLL macro
Add a comment that the limitation of the personalization string
being a maximum of 64 characters is due to the implementation and
not the specification (but it makes it easy to implement, and in
this particular case 64 characters is probably fine).
Add some tests for the personalization option, generated by the
Skein reference implementation.
Disable stripping whitespace in checks/misc.cpp:strip - it strips
the personalization tag, which breaks the test, and isn't needed
otherwise because the test files are well-formed.
Diffstat (limited to 'src/hash/skein/skein_512.h')
-rw-r--r-- | src/hash/skein/skein_512.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hash/skein/skein_512.h b/src/hash/skein/skein_512.h index 2192767ca..fa558fc0d 100644 --- a/src/hash/skein/skein_512.h +++ b/src/hash/skein/skein_512.h @@ -5,8 +5,8 @@ * Distributed under the terms of the Botan license */ -#ifndef BOTAN_SKEIN_H__ -#define BOTAN_SKEIN_H__ +#ifndef BOTAN_SKEIN_512_H__ +#define BOTAN_SKEIN_512_H__ #include <botan/secmem.h> #include <botan/hash.h> @@ -14,7 +14,7 @@ namespace Botan { -class Skein_512 : public HashFunction +class BOTAN_DLL Skein_512 : public HashFunction { public: Skein_512(u32bit output_bits = 512, |