aboutsummaryrefslogtreecommitdiffstats
path: root/src/constructs/srp6/srp6_files.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2012-04-06 15:54:22 +0000
committerlloyd <[email protected]>2012-04-06 15:54:22 +0000
commit757bf5016ad880961ee3a42f99b7bf2e99ec692a (patch)
treec957d9dfb836e00e5c60bf479679fa9eea21eff9 /src/constructs/srp6/srp6_files.h
parentcdde9a171e3fcb164e7946c198ba4d8f9ef486fb (diff)
Use just 256 bits of secret exponent (recomended value in RFC 5054).
Much faster, especially when using 8192 bit groups as OpenSSL does by default. Use BOTAN_DLL symbol visibility macros.
Diffstat (limited to 'src/constructs/srp6/srp6_files.h')
-rw-r--r--src/constructs/srp6/srp6_files.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/constructs/srp6/srp6_files.h b/src/constructs/srp6/srp6_files.h
index 1def0fd51..4e3293423 100644
--- a/src/constructs/srp6/srp6_files.h
+++ b/src/constructs/srp6/srp6_files.h
@@ -17,7 +17,7 @@ namespace Botan {
/**
* A GnuTLS compatible SRP6 authenticator file
*/
-class SRP6_Authenticator_File
+class BOTAN_DLL SRP6_Authenticator_File
{
public:
/**
@@ -28,7 +28,7 @@ class SRP6_Authenticator_File
bool lookup_user(const std::string& username,
BigInt& v,
- MemoryVector<byte>& salt,
+ MemoryRegion<byte>& salt,
std::string& group_id) const;
private:
struct SRP6_Data